Sfoglia il codice sorgente

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 anni fa
parent
commit
76c87d1a74
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);