]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Set touch-action to "none"
authorpatrickhlauke <redux@splintered.co.uk>
Mon, 15 Oct 2018 22:25:44 +0000 (23:25 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Sat, 20 Oct 2018 12:32:09 +0000 (15:32 +0300)
commit8883ccb205abfe975b4cacca8fbc22cf67092eb0
tree09a2c57f6df054d28f6a8bd6f00e34d1f7e32516
parent9164f772698a54c45da632189bdf65e719c39f73
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
scss/_carousel.scss