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
NanoScroller dont refresh after ajax #159
Comments
Hmm.. don't know really since there does not seem to be much wrong with your Javascript. It could also be a CSS issue, so would you be able to provide a live demo about your problem? |
I did some debugging and it look like this.sliderY and this.sliderTop properties outputs as NaN after the refresh. |
I found the issue : it look like jquery outerheight() returns an object instead of the value here : Changing the line to : Fix the issue! |
Hmm.. that is weird because jQuery docs say:
|
Yes, It look like many users already reported the issue : Anyway, I dont have any problems now! |
Ok, I guess I'm going to pass |
Hello,
Thanks for the great plugin. Everything is working really well except when modifying the content in ajax after the scroll has been created first.
Here is my code :
When $container.nanoScroller(); is called a second time, the pane dont move anymore when scrolling over the zone.
Antoine
The text was updated successfully, but these errors were encountered: