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

Scrollbars loose they original position if a top container is scrolled with browser scroll #123

Closed
albanx opened this issue Dec 18, 2012 · 5 comments

Comments

@albanx
Copy link

albanx commented Dec 18, 2012

bug

Hi

This is an excellent plugin, clean, complete, and non-interfiring with original elements. The best I found on the web. Thanks.

I found a bug, see the picture for more. It seems that if I scroll the big container (for example a div), the inner elements that have nice-scroll, loose the original scroll position relative to the element.

Alban

@inuyaksa
Copy link
Owner

Sure, nicescroll rails have relate to body element.
In your situation you have to force resize, so all rails refresh positions.
You can bind scroll event on your main container and request resize.

@albanx
Copy link
Author

albanx commented Dec 19, 2012

OK I will try and give a feed back. Thanks

@albanx albanx closed this as completed Dec 19, 2012
@inuyaksa
Copy link
Owner

Next release can detect scrollable parent, so inner scrollable don't loose the position if parent scrolls.

@loiic-v
Copy link

loiic-v commented Jan 21, 2014

Hi there, I still have this issue with v.3.5.4 :/

@loiic-v
Copy link

loiic-v commented Jan 21, 2014

I think there's still the issue only on Chrome browser. Like the browser scroll is fired after window load or something like that.

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

No branches or pull requests

3 participants