Max-height for nano scrolls the whole page up

166 Views Asked by At

I use https://github.com/jamesflorentino/nanoScrollerJS I have a container which has max-height 600px. This container has nanoScroller. And if the height of this container changes dynamically (collapsing), then the main page scroll (browser scroll) moves the page to the top. Please help. Thanks in advance.

0

There are 0 best solutions below