Smooth scroll on iOS overflow element
This is a trick to fix/enable smooth scrolling for web pages on iOS.
.content {
width: 300px;
height: 200px;
overflow-y: scroll; /* has to be scroll, not auto */
-webkit-overflow-scrolling: touch;
}
This is a trick to fix/enable smooth scrolling for web pages on iOS.
.content {
width: 300px;
height: 200px;
overflow-y: scroll; /* has to be scroll, not auto */
-webkit-overflow-scrolling: touch;
}