Laussel Loïc
4cac833447
Implement data-dismiss="toast"
to allow user to interact itself with the component ( #27155 )
2018-11-13 08:47:32 +02:00
Johann-S
2f81ab007c
Fix toast documentation page.
2018-11-13 08:47:32 +02:00
Johann-S
16cf76ff1a
Create toast JS plugin, add unit tests.
2018-11-13 08:47:32 +02:00
patrickhlauke
c46a0c7e88
Replace touch-action: none with pan-y, remove preventDefault from touch event handling
2018-11-04 14:40:19 +02:00
Johann-S
f7a4b39767
handle detached tooltip when we try to hide a modal
2018-11-02 13:39:58 +01:00
Johann-S
cebdfb9090
fix dispose modal unit test
2018-10-30 16:59:24 +01:00
Andrew Luca
bd2851938a
test(Modal): check if modal is disposed
2018-10-30 16:28:32 +01:00
Andrew Luca
65dc8c9070
refactor(Modal): add _isTransitioning
default value
...
Having variables initialised from start `_isTransitioning` is better.
Would be better to add an eslint rule to check for undeclared variables use.
Reordered enter checks for `show` and `hide` by priority.
2018-10-30 16:28:32 +01:00
XhmikosR
02df7cd0d2
Fix util tests on IE 10 ( #27556 )
2018-10-30 15:29:04 +02:00
Martijn Cuppens
5aed968750
Prevent the background to be shown when transitioning
2018-10-30 08:57:02 +02:00
Johann-S
2868f07240
update our coverage required for branches and functions
2018-10-29 14:49:29 +01:00
Johann-S
91f8077ed5
add unit tests for our carousel
2018-10-29 14:49:29 +01:00
Johann-S
2c2d04aba5
add unit test to test tabs can be removed without throwing error
2018-10-29 14:01:03 +01:00
dercodercom
a282c22fc7
Update tab.js
...
I'm using Tab.js with remove function and get an error "TypeError: container is undefined [more info]", with this check the error is fixed.
2018-10-29 14:01:03 +01:00
Martijn Cuppens
45610a0f39
fix tab fade out ( #27533 )
2018-10-29 09:54:45 +01:00
Johann-S
ffc8d507c7
calculate modal transition duration based on modal-dialog element
2018-10-28 23:59:17 +02:00
Andrew Luca
1f1308ba22
test(Modal): reuse _getScrollbarWidth in tests
2018-10-21 17:45:02 +02:00
XhmikosR
0a3755b30a
Fix typo in the Popper.js checks. ( #27488 )
2018-10-21 11:51:20 +03:00
Johann-S
b1dc6b324c
avoid drag img
2018-10-20 15:32:09 +03:00
patrickhlauke
8883ccb205
Set touch-action to "none"
...
Firefox currently seems extremely fickle - with `pan-y` if fires pointercancel as soon as a touch strays even a pixel or so vertically.
While `touch-action: pan-y` would be ideal (allowing users to scroll the page even when their finger started the scroll on the carousel), this prevents a swipe that isn't perfectly/only horizontal to be recognised by Firefox.
2018-10-20 15:32:09 +03:00
patrickhlauke
9164f77269
Refactor (and correct) start/move/end functions
...
in particular, no need to use originEvent, and preventDefault() only needed for touch events
2018-10-20 15:32:09 +03:00
patrickhlauke
39ae077837
Remove unnecessary pointer event listeners
...
these may also be the cause of weird behavior in Chrome/Surface, where scrolling vertically triggers slide advance
2018-10-20 15:32:09 +03:00
patrickhlauke
6be7293a85
Abandon swipe altogether if more than one touch detected
2018-10-20 15:32:09 +03:00
patrickhlauke
7b8f01d839
Use correct touch-action values
...
- my fault, my original advice of using `touch-action: pan-x` is exactly the value we *don't* want to have the browser handle...
2018-10-20 15:32:09 +03:00
Johann-S
735c374e9c
use pointer events if available
2018-10-20 15:32:09 +03:00
Johann-S
c08652cfe8
swipe left/right without hammerjs
2018-10-20 15:32:09 +03:00
Johann-S
caefd70463
Add touch support in our carousel with HammerJS.
2018-10-20 15:32:09 +03:00
galczo5
6cbcd03efb
Add show
and hide
methods to dropdown ( #27370 )
2018-10-20 14:27:51 +03:00
XhmikosR
ea575bc1a7
js/tests/visual: fix popper script.
...
Broken after 787441d
.
2018-10-14 08:17:40 +03:00
XhmikosR
339311ddb5
Fix invalid selectors in tests and examples.
2018-10-14 08:17:40 +03:00
Johann-S
7c7a1706c3
remove useless iife
2018-09-26 15:03:38 +02:00
Mark Otto
f6244654a6
dist
2018-09-18 21:35:40 -07:00
Christopher Morrissey
ea0faadde5
feature(carousel): carousel-item interval ( #26667 )
...
adds the ability to assign data-interval to an individual carousel-item
2018-09-18 15:55:48 +03:00
XhmikosR
787441d4bf
docs: use the bundle dist file.
2018-09-18 12:50:18 +03:00
Mark Otto
b68ea572da
dist
2018-09-17 12:34:34 -07:00
XhmikosR
0b97d1b0c4
Use https in more places and fix a few redirects.
2018-09-14 18:27:55 +03:00
Johann-S
a689120fd2
throw error when folks try to use a bad selector
2018-09-13 22:13:36 +02:00
Johann-S
9efed82522
refactor karma config in one file
2018-09-13 21:59:37 +02:00
Johann-S
c543f360c9
do not use coverage files on browserstack
2018-09-13 21:59:37 +02:00
Johann-S
6e2a823a44
collapse children with no data-parent
2018-09-10 21:10:00 +02:00
Johann-S
a3e45d8ced
add information about valid selectors ( #27137 )
2018-08-31 21:00:29 +02:00
Johann-S
54d86e6249
move away from sauce labs to browserstack
2018-08-30 22:17:15 +02:00
Mark Otto
c0fd91788e
dist
2018-08-18 20:22:08 -07:00
XhmikosR
acd19de6a9
Use ES6 arrow function.
2018-08-12 22:22:12 +03:00
Johann-S
eab9da5beb
fix(util): use querySelector for ids
2018-08-12 17:01:01 +02:00
Johann-S
6b92321f6a
fix(util): use getElementById when it's possible
2018-08-07 18:49:02 +02:00
jarstelfox
198091d635
Fix dispose causing popover title to change
...
see: https://github.com/twbs/bootstrap/issues/26847
in v4, destroy was replaced by dispose
2018-08-02 13:51:08 +02:00
Mark Otto
3b55873438
Ship v4.1.3
2018-07-24 08:54:34 -07:00
Mark Otto
72447ad497
dist
2018-07-23 17:51:14 -07:00
Johann-S
d18045210c
fix(tests): visual plugins tests
2018-07-23 17:29:53 -07:00