mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 09:04:14 +02: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:
@@ -19,7 +19,7 @@ $(function () {
|
|||||||
|
|
||||||
var stylesCarousel = [
|
var stylesCarousel = [
|
||||||
'<style>',
|
'<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>'
|
'</style>'
|
||||||
].join('')
|
].join('')
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.carousel.pointer-event {
|
.carousel.pointer-event {
|
||||||
touch-action: pan-x;
|
touch-action: pan-y pinch-zoom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.carousel-inner {
|
.carousel-inner {
|
||||||
|
Reference in New Issue
Block a user