From 8883ccb205abfe975b4cacca8fbc22cf67092eb0 Mon Sep 17 00:00:00 2001 From: patrickhlauke Date: Mon, 15 Oct 2018 23:25:44 +0100 Subject: Set touch-action to "none" Firefox currently seems extremely fickle - with `pan-y` if fires pointercancel as soon as a touch strays even a pixel or so vertically. While `touch-action: pan-y` would be ideal (allowing users to scroll the page even when their finger started the scroll on the carousel), this prevents a swipe that isn't perfectly/only horizontal to be recognised by Firefox. --- js/tests/unit/carousel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index 932b90f7d..bafd45fe7 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -19,7 +19,7 @@ $(function () { var stylesCarousel = [ '' ].join('') -- cgit v1.2.3