Closed Fusseldieb closed 5 years ago
Solved it apparently. Disabling/Commenting "perfect-scrollbar" entirely (the initialization commands) solved that issue, now it goes to the top whenever a new route loads, but also now the default scrollbar is back, but that's fine for me, since I wanted that in the first place.
That custom scrollbar was giving me headaches.
Note that the sidebar also gets a unecessary horizontal scrollback at the bottom when it collapses. Removed that by setting the wrapper to overflow: hidden
Hey @Fusseldieb glad it was resolved for your and we did some minor updates on this template. I will close the issue.
PS: Do you have material dashboard or paper dashboard ? This repo is for Paper Dashboard issues.
PS: Do you have material dashboard or paper dashboard ? This repo is for Paper Dashboard issues.
Material Dashboard, sorry about the confusion.
So, I've purchased (material) dashboard pro, but when I scroll to the bottom of a long page and then try to go to a rather short page, it doesn't scroll back to the top, but instead leaves me with a blank page for me to scroll up.
Is there any solution to scroll always to the top on a new route? Would be great.
Thank you.