Fix scrolling bug on iOS safari
authorChris Nielsen <nielsencfm@gmail.com>
Mon, 25 Apr 2016 13:25:46 +0000 (21:25 +0800)
committerChris Nielsen <nielsencfm@gmail.com>
Mon, 25 Apr 2016 13:25:46 +0000 (21:25 +0800)
assets/src/sass/styles.scss

index f784ca99e87ee43b6a593fd6d93c049f54d59eb7..3c1349711a1a917356813080b39f0b200301cb09 100644 (file)
@@ -74,6 +74,10 @@ a {
   width: 100%;
   height: 100%;
   overflow-x: hidden;
+
+  /* Fix iOS Safari scroll bug */
+  overflow-y: scroll; 
+  -webkit-overflow-scrolling: touch;
 }
 
 .viewport {