Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullscreen/unfullscreen ASAP; fire events at animation frame timing #92

Merged
merged 1 commit into from
Jun 15, 2017

Commits on Jun 15, 2017

  1. Fullscreen/unfullscreen ASAP; fire events at animation frame timing

    This means that changes to document.fullscreenElement and other state
    will be observable as soon as the resize itself is (e.g. via
    window.innerWidth) and before resize or scroll events are fired.
    
    The fullscreenchange event is still delayed to animation frame timing.
    
    This also includes a slight change when /resize/ is true in "exit
    fullscreen". By changing /doc/ to /topLevelDoc/ in this case, we can
    make sure that we always fully unfullscreen all documents in this case.
    This makes a "fully exit fullscreen" corner case unnecessary.
    
    Fixes #74.
    foolip committed Jun 15, 2017
    Configuration menu
    Copy the full SHA
    a62b790 View commit details
    Browse the repository at this point in the history