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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

MuiDataGrid-row--dynamicHeight not added to pinned column rows #5825

Closed
2 tasks done
mainfraame opened this issue Aug 17, 2022 · 1 comment
Closed
2 tasks done

MuiDataGrid-row--dynamicHeight not added to pinned column rows #5825

mainfraame opened this issue Aug 17, 2022 · 1 comment
Labels
component: data grid This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@mainfraame
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 馃槸

Given i have getRowHeight={() => auto}
And a pinned column
When the grid renders
Then MuiDataGrid-row--dynamicHeight is applied to non-pinned rows
And MuiDataGrid-row--dynamicHeight IS NOT applied to pinned rows

Expected behavior 馃

Given i have getRowHeight={() => auto}
And a pinned column
When the grid renders
Then MuiDataGrid-row--dynamicHeight is applied to non-pinned rows
And MuiDataGrid-row--dynamicHeight IS applied to pinned rows

Steps to reproduce 馃暪

Link to live example: https://codesandbox.io/s/dynamicrowheightgrid-demo-mui-x-forked-5pus2b?file=/demo.js

Steps:

  1. Using DataGridPro create a grid with one pinned column and getRowHeight={() => 'auto' }
  2. Observe that the dynamic row height class is not applied to the pinned column row

Context 馃敠

No response

Your environment 馃寧

see codesandbox example

Order ID 馃挸 (optional)

No response

@mainfraame mainfraame added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Aug 17, 2022
@cherniavskii
Copy link
Member

Duplicate of #5137, should be fixed by #5782

@cherniavskii cherniavskii closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2022
@cherniavskii cherniavskii added duplicate This issue or pull request already exists component: data grid This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 18, 2022
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! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants