0

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.

Artem Halas
  • 153
  • 1
  • 2
  • 15
  • That's pretty vague. Need some more info than that. – Adjit Mar 10 '15 at 14:34
  • Please make a jsfiddle or jsbin showing your issue and code... – NateW Mar 10 '15 at 14:54
  • I have created a plunk, here is the link: http://plnkr.co/edit/mR9FnBg0lfNSCtRPOfT6?p=preview I am using https://github.com/maxaon/angular-nanoscroller . To replicate the issue, scroll down to the page bottom and press "Add item to list". Afterwards you'll see that the browser scroll moved up. Thanks in advance. – Artem Halas Mar 10 '15 at 16:05

0 Answers0