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

Bug on window refresh #36

Open
alejandroamoretti opened this issue Dec 12, 2014 · 4 comments
Open

Bug on window refresh #36

alejandroamoretti opened this issue Dec 12, 2014 · 4 comments

Comments

@alejandroamoretti
Copy link

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.

@JeskTop
Copy link

JeskTop commented Dec 30, 2014

@alejandroamoretti I also had this bug. But I found the example did not have. So I very confused.
Did you solve this problem?

@relaxgo
Copy link

relaxgo commented Jul 9, 2015

I set the containerSelector, and this bug solve, but another appear...

@Tonnnylee
Copy link

I fixed this bug. var parentOffset = $this.offsetParent().offset(); replace with var parentOffset = $this.parent().offset(); will be ok!

@jhxxs
Copy link

jhxxs commented Nov 22, 2017

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants