From 3e22ce02fb569d1db06e7a8f564c5aa328dfb92e 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 --- viewer/src/assets/scss/scrollbar.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'viewer/src') 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