-
Notifications
You must be signed in to change notification settings - Fork 321
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
Bug on window refresh #36
Comments
@alejandroamoretti I also had this bug. But I found the example did not have. So I very confused. |
I set the |
I fixed this bug. var parentOffset = $this.offsetParent().offset(); replace with var parentOffset = $this.parent().offset(); will be ok! |
@JeskTop I tried your solution and currently it works fine. thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that when a page is refreshed (in Chrome, at least, which retains your scroll position on page refresh) while a pinned element is being pinned, that element will now only become pinned at or below the point on the page that was at the top of the browser window upon reloading.
The text was updated successfully, but these errors were encountered: