epicweb-dev / epicweb-dev/restore-scroll
Doesn't work with MUI v5 / React Router Dom 6.21.1
- Dominant language
- TypeScript
- Stars
- 260
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
As title says.
I'm trying to restore the scroll within a MUI table but it doesn't seem to work with the package versions mentioned in the title.
The `ScrollRestoration` from React Router Dom would work for the window.body but i did need this feature for tables as well.
Trying to play around with query selector didn't work, nor did trying to select different components to restore the scroll to.
Besides this, I see in the session storage that the library does save scrolling position ( stacking them instead of re-using them however ), but browsing back to / directly to a page doesn't restore my scrolls.
Is there a working example available for React Rouer Dom 6.21.xxx ? As this feature is not supported by React Router Dom in its current state this library would have helped a lot.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.