mirror of
https://github.com/twbs/bootstrap.git
synced 2025-12-10 00:07:05 -05: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 = [
|
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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user