New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement <ScrollRestoration /> #4357
Comments
@FelixMalfait Could I be assigned this? Thanks |
@Jonathanlemon of course, that'd be very helpful if you can solve this. Got this feedback twice from users. Thanks! |
@Jonathanlemon did you have time to look yet? Thanks! |
@FelixMalfait Something came up where I will not be able to look into this, sorry. Please unassign me |
OK no problem @Jonathanlemon thanks for trying! |
Here is the GitStart Ticket for this issue: https://clients.gitstart.com/twenty/5449/tickets/TWNTY-4357 |
### Description Implement <ScrollRestoration /> ### Refs [#4357 ### Demo https://github.com/twentyhq/twenty/assets/140154534/321242e1-4751-4204-8c86-e9b921c1733e Fixes #4357 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: RubensRafael <rubensrafael2@live.com>
Current behavior
As of today, when you hit the "back" button, you are always redirected to the top of the page.
This is annoying when working with lots of records (e.g. Kanban board).
Screen.Recording.2024-03-07.at.12.31.03.mov
Desired behavior
Other websites like Github just record the scroll position.
This seems to be doable with https://reactrouter.com/en/main/components/scroll-restoration#scrollrestoration-
Edit: also check https://reactrouter.com/en/main/components/link#preventscrollreset not sure if needed
The text was updated successfully, but these errors were encountered: