Reputation: 351
I'm using object oriënted javascript and handlebars as templating system. Today I discovered a problem which I can't solve. When you use templates, they are loaded after the full DOM structure, a result is that the window and body don't get the right height. Concluding that my content is cut off at the bottom of the window and I don't get a scrollbar. All elements (divs, forms, ...) are added via javascript. Anyone knows how to solve this issue?
Upvotes: 0
Views: 41
Reputation: 1734
The issue is probably in your css. Ensure that the rule for the element that should get a scroll bar does not have a line that reads:
overflow: hidden;
if it does change that line to
overflow: auto;
Upvotes: 1