0
0
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:
patrickhlauke 2018-10-15 20:53:51 +01:00 committed by XhmikosR
parent 735c374e9c
commit 7b8f01d839
2 changed files with 2 additions and 2 deletions

View File

@ -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('')

View File

@ -13,7 +13,7 @@
}
.carousel.pointer-event {
touch-action: pan-x;
touch-action: pan-y pinch-zoom;
}
.carousel-inner {