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

Issue with Column Virtualization in Material-React-Table with Next.js #1274

Open
1 task done
santhosh14062001 opened this issue Oct 22, 2024 · 1 comment
Open
1 task done

Comments

@santhosh14062001
Copy link

santhosh14062001 commented Oct 22, 2024

material-react-table version

v3

react & react-dom versions

v18

Describe the bug and the steps to reproduce it

Hi,

I am working on a Next.js project where we are using material-react-table to manage table data. We recently encountered performance challenges due to a large number of columns, so we implemented column virtualization to improve efficiency.

However, despite not using any hooks inside my component, the column virtualization is not functioning as expected. We are encountering the following error:
image

This is my component
image

Could you provide guidance on resolving this issue?

Minimal, Reproducible Example - (Optional, but Recommended)

step 1: create next project
step 2: add material-react-table
step 3: give 100 columns and rows
step 4: add multiple header.
step 5: add virtualization settings
step 6: scroll right

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@santhosh14062001
Copy link
Author

Hi
I found the issue scenario.
If i add multiple header for my table this issue is coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant