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

Bar with offset, doesn't adopt to browser dimensions (when rescaled after loading the page) #14

Open
smokingbarrel opened this issue Sep 17, 2014 · 2 comments

Comments

@smokingbarrel
Copy link

Bar with offset initially stays in the same position where it was originally loaded.
In other words, when the page loads initially, the position and overall function of the bar are correct, BUT if you happened to resize the browser window up or down, the bar retains the same location, whatever it was when the page has loaded.

@eduardomb
Copy link
Owner

Hi, I'm not sure if I understood the issue here. Are you talking about percentage offset? Can you attach a simple example file?

@marflow
Copy link

marflow commented Jun 16, 2016

Hello & thanks for sharing the plugin! I have the same or similar question so I am adding mine here: If you have set different vertical offsets for some breakpoints, the bar shows correctly as you scroll up, but if you resize and another media query becomes active, the bar will not be moved to the correct initial offset position for this query, but for the last offset that was loaded.

Example: sm – 50px, md – 100px, lg – 200px offsets. If you loaded the page in md and then resize to lg or sm, the bar will show at 100px if you scroll all the way up. As soon as you reload the offset is corrected. Is there a way to trigger a reload automatically or something else that would make it work? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants