From 5edf60b9f5cc8daff3226f0eaf6f3a64d2662425 Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 26 Sep 2020 18:55:09 +0200 Subject: viewer: fix momentum/kinetic scroll on Safari and Firefox on iOS GitHub: closes #253 (cherry picked from commit 3e22ce02fb569d1db06e7a8f564c5aa328dfb92e) --- viewer/src/assets/scss/scrollbar.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'viewer') diff --git a/viewer/src/assets/scss/scrollbar.scss b/viewer/src/assets/scss/scrollbar.scss index a00b4c2..4ca0a2c 100644 --- a/viewer/src/assets/scss/scrollbar.scss +++ b/viewer/src/assets/scss/scrollbar.scss @@ -23,6 +23,10 @@ .scrollbar { overflow: auto; + + // enable momentum/kinetic scroll on Safari and Firefox on iOS + -webkit-overflow-scrolling: touch; + scrollbar-color: $scrollbar-color transparent; scrollbar-width: thin; &::-webkit-scrollbar { -- cgit v1.2.3