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

Fix a weird stick at top when scrolling bug #376

Merged
merged 1 commit into from
Jan 30, 2017

Commits on Jan 30, 2017

  1. Fix a weird stick at top when scrolling bug

    For reasons unknown, getting the width of the stuck element by calling $el.width() _after_ adding the shim to the document causes Chrome 56 to scroll down by the height of the shim, effectively ‘jumping’ the user down the document.
    
    This behaviour does not occur in other browsers, nor did it occur in Chrome 55.
    
    Somehow, this fixes it.
    
    ¯\_(ツ)_/¯
    36degrees committed Jan 30, 2017
    Configuration menu
    Copy the full SHA
    ae9cc7f View commit details
    Browse the repository at this point in the history