Skip to content

Fallback no-scroll style #3

Open

Description

@tracend

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" 
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions