Skip to content
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

[data grid] Scroll restoration #12044

Closed
marcpachecog opened this issue Feb 13, 2024 · 2 comments
Closed

[data grid] Scroll restoration #12044

marcpachecog opened this issue Feb 13, 2024 · 2 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/

Comments

@marcpachecog
Copy link

marcpachecog commented Feb 13, 2024

Summary

When utilizing the Datagrid with virtualization, it would greatly enhance the user experience to incorporate scroll restoration functionality. Currently, if a user navigates away from the page after clicking on a row, and then returns, they expect the Datagrid to maintain the same scroll position as before.

Examples

No response

Motivation

The absence of scroll restoration leads to a disorienting user experience, as users expect to seamlessly resume their interaction with the DataGrid upon returning to the page. Without scroll restoration, users may need to manually scroll to locate the previously selected row, resulting in frustration and inefficiency.

Search keywords: scroll restoration
Order ID: 77729

@marcpachecog marcpachecog added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 13, 2024
@zannager zannager added component: data grid This is the name of the generic UI component, not the React module! support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/ labels Feb 13, 2024
@michelengelen
Copy link
Member

Hey @marcpachecog we do have the ability to scroll to certain indexes. There is an example in the docs: Scrolling

Or does this use-case not satisfy your needs? Let us know and we would love to help (ideally with a minimal reproduction in stackblitz or codesandbox)

@michelengelen michelengelen added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Feb 15, 2024
@michelengelen michelengelen changed the title Scroll restoration [data grid] Scroll restoration Feb 15, 2024
Copy link

The issue has been inactive for 7 days and has been automatically closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Projects
None yet
Development

No branches or pull requests

3 participants