Hello,
I've implemented the code in the documentation to apply scroll behavior on my router, but I'm using react-custom-scrollbars (https://github.com/malte-wessel/react-custom-scrollbars), therefore nothing happens...
Is there a way I could call window.scrollbar.scrollToTop() (my way of scrolling to the top with my custom scrollbar) when useScroll normally scrolls?
Thanks in advance.
Hello,
I've implemented the code in the documentation to apply scroll behavior on my router, but I'm using react-custom-scrollbars (https://github.com/malte-wessel/react-custom-scrollbars), therefore nothing happens...
Is there a way I could call window.scrollbar.scrollToTop() (my way of scrolling to the top with my custom scrollbar) when useScroll normally scrolls?
Thanks in advance.