[data grid] Scrolling with scrollbar jumps back to a previous position when getRowHeight={() => 'auto'}
is used
#14802
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
feature: Rendering layout
Related to the data grid Rendering engine
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-sux3md?file=Demo.tsx
Steps:
Current behavior
The row you're viewing when you release the scrollbar aren't the rows you see when you release the scrollbar. We don't see this behavior for a smaller number of rows where virtualization of rows doesn't come into play.
Expected behavior
The row you're viewing when you release the scrollbar are the rows you see when you release the scrollbar.
Context
We had a customer report this jumping behavior when they scroll using the scrollbar. The seems like this might be related to virtualization on the grid rows then those rows adjusting their size due to rowHeight auto. This was seen in version 6 and version 7 of mui-x. We're really looking for a way that we can make this virtualization/rowHeight behavior seem less clunky.
Your environment
npx @mui/envinfo
Search keywords: scrollbar data grid jumping pro premium rowHeight
Order ID: 82849
The text was updated successfully, but these errors were encountered: