mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
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...
This commit is contained in:
parent
735c374e9c
commit
7b8f01d839
@ -19,7 +19,7 @@ $(function () {
|
||||
|
||||
var stylesCarousel = [
|
||||
'<style>',
|
||||
' .carousel.pointer-event { -ms-touch-action: pan-x; touch-action: pan-x; }',
|
||||
' .carousel.pointer-event { -ms-touch-action: pan-y pinch-zoom; touch-action: pan-y pinch-zoom; }',
|
||||
'</style>'
|
||||
].join('')
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
}
|
||||
|
||||
.carousel.pointer-event {
|
||||
touch-action: pan-x;
|
||||
touch-action: pan-y pinch-zoom;
|
||||
}
|
||||
|
||||
.carousel-inner {
|
||||
|
Loading…
x
Reference in New Issue
Block a user