Skip to content

Commit 8125718

Browse files
Paul NtaGeoffreyBooth
authored andcommitted
fix momentum scrolling on iOS (#5083)
1 parent 70f6cb7 commit 8125718

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎docs/v2/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
body {
189189
/* Prevent scroll on narrow devices */
190190
overflow-x: hidden;
191+
-webkit-overflow-scrolling: touch;
191192
}
192193
body {
193194
/* Required for Scrollspy */

‎documentation/site/docs.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ html,
22
body {
33
/* Prevent scroll on narrow devices */
44
overflow-x: hidden;
5+
-webkit-overflow-scrolling: touch;
56
}
67
body {
78
/* Required for Scrollspy */

0 commit comments

Comments
 (0)