My website integrated with metronic has NOT native scroll bar, I enabled hover-scroll-y to the content block and now on very long contents the scrolltop element is never showing. I tried to move the scrolltop element code from body to the content div, but it doesn't work. How can I use it?
As always, thanks in advance
To make the scrollable content work with
hover-scroll-y style you will need to set a calculated CSS height for the scrollable element.
The scroll top element is intended to work for scrolling the document.
If you need to scroll to an element you can check this built in JS function.
if you need any further help please provide us with more details(your metronic version, demo, built method(gulp, webpack)) and we will try to guide you.