Jelajahi Sumber

scrollbar: fixes continuation scrolling for iOS

The -webkit-overflow-scrolling is an iOS only property:

https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-overflow-scrolling

that turns on momementum/continuation scrolling for iOS devices. This means
that when swiping, the scroll continues for a half second rather than instantly
stopping the scroll when the user lifts their finger from the screen.
Daniel Lee 7 tahun lalu
induk
melakukan
76c87d1a74
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      public/sass/layout/_page.scss

+ 1 - 0
public/sass/layout/_page.scss

@@ -28,6 +28,7 @@
   width: 100%;
   overflow: auto;
   height: 100%;
+  -webkit-overflow-scrolling: touch;
 
   &--dashboard {
     height: calc(100% - 56px);