Reputation: 20675
I am trying to create a Javascript Modern UI app. The problem is, vertical scrolling doesn't work. As I try to scroll using the mouse scroll, the page (HTML file) just stays there and does nothing, and it only displays the contents that are at the top of the page (the contents that fit on the screen at the beginning)
How can I enable vertical scrolling?
Upvotes: 2
Views: 907
Reputation: 7765
I realize this is several years old, but for me this was fixed by overriding the overflow
property on the html
element
html {
overflow: auto;
}
Upvotes: 1
Reputation: 20675
I found the solution. It's because of the height:auto
property. Remove it and voila ~
Upvotes: 0