Skip to content

Commit e604f5b

Browse files
authoredJul 7, 2020
fix: homepage not using native accelerated scrolling on touch devices (#827)
The home and guide pages are scrollable, but they felt janky because they didn't use the native accelerated scrolling.
1 parent 847d825 commit e604f5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎material.angular.io/src/app/material-docs-app.scss

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ material-docs-app > app-homepage,
2424
material-docs-app > app-guides,
2525
material-docs-app > guide-viewer {
2626
overflow-y: auto;
27+
-webkit-overflow-scrolling: touch;
2728
}
2829

2930
@media (max-width: 720px) {

0 commit comments

Comments
 (0)
Please sign in to comment.