You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd say that this functionality should be implemented on your side, since it will involve window function wrapping.
Event listening will not work because window.scrollTo will try to scroll body element which does not have any scroll therefore it should not emit scroll event.
For past 3 years you're the first person who asked for such functionality. BTW why not to use RSC's context API to control parent scrollbars.
window.scrollTo(0, 0);
sends the page to the top. With react-scrollbars-custom enabled on the body element, this does not happen.Could there be a prop we could pass to make it listen to window.scrollTo calls?
The text was updated successfully, but these errors were encountered: