Hi, I'm using nicescroll in an Angular 5 (CLI) project.
I have a problem, when changing between pages (components) of the application, the divs that control the rails don't remove themselves. I have tried many methods, included: onDestroy, .remove() and .()hide but they don't work.
My hypotesis is that this is due to nicescroll not being rendered inside the app-root but on the real outside: in fact, in the inspector, I can see the div creating itself again and again everytime I load the component with the Nicescroll. How can I solve this?
Hi, I'm using nicescroll in an Angular 5 (CLI) project. I have a problem, when changing between pages (components) of the application, the divs that control the rails don't remove themselves. I have tried many methods, included: onDestroy, .remove() and .()hide but they don't work.
My hypotesis is that this is due to nicescroll not being rendered inside the app-root but on the real outside: in fact, in the inspector, I can see the div creating itself again and again everytime I load the component with the Nicescroll. How can I solve this?