This style may be applied when there is no app.state object to set scroll : false
Instead of setting app.scroll = false (which may be disruptive) maybe the body tag justneeds a class applied:
$("body").toggleClass("no-scroll");
The style itself can be as simple as this (just to disable scrolling):
.no-scroll {
overflow : "hidden"
}
This style may be applied when there is no app.state object to set
scroll : falseInstead of setting
app.scroll = false(which may be disruptive) maybe the body tag justneeds a class applied:The style itself can be as simple as this (just to disable scrolling):