From 7b8f01d839aa2d2683bd5f90f79fe632d58bf9a4 Mon Sep 17 00:00:00 2001 From: patrickhlauke Date: Mon, 15 Oct 2018 20:53:51 +0100 Subject: [PATCH] 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... --- js/tests/unit/carousel.js | 2 +- scss/_carousel.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index 68c28aec5e..932b90f7dd 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -19,7 +19,7 @@ $(function () { var stylesCarousel = [ '' ].join('') diff --git a/scss/_carousel.scss b/scss/_carousel.scss index 7d3728b40d..130965f798 100644 --- a/scss/_carousel.scss +++ b/scss/_carousel.scss @@ -13,7 +13,7 @@ } .carousel.pointer-event { - touch-action: pan-x; + touch-action: pan-y pinch-zoom; } .carousel-inner {