Open royrakesh opened 5 years ago
I have the same problem. if you solved it , share the solution , please ?
var nice = $("body").niceScroll({
cursorcolor: "#ccc",
cursorwidth: "5px",
zindex: "99999999999"
});
nice.resize();
First create object then call resize method
i am using barbajs so i reinitialized the function after page loaded every time.
After scrolling a small length page if i switch to a long page, the scroll stops to the previous page height.