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

Dynamic row height doesn't work with DraggableElement #282

Open
ThiBsc opened this issue Mar 22, 2021 · 2 comments
Open

Dynamic row height doesn't work with DraggableElement #282

ThiBsc opened this issue Mar 22, 2021 · 2 comments

Comments

@ThiBsc
Copy link

ThiBsc commented Mar 22, 2021

I'm trying to have dynamic row height with DraggableElement but I can't have the wanted result.

Here the: playground

Something is missing ?

@ThiBsc ThiBsc changed the title estimatedRowHeight does'nt work with DraggableElement estimatedRowHeight doesn't work with DraggableElement Mar 22, 2021
@ThiBsc ThiBsc changed the title estimatedRowHeight doesn't work with DraggableElement Dynamic row height doesn't work with DraggableElement Mar 25, 2021
@nihgwu
Copy link
Contributor

nihgwu commented Jun 13, 2021

Sorry for late response, the dynamic row height feature is pretty new and there could be incompatibility issue, and I can imagine that as virtualized table relies on row height by index, but when dnd the index is changing the but row height cache doesn't get updated, and I guess there won't be easy solution for that, perhaps a normal table component would be more suitable for your case

@ThiBsc
Copy link
Author

ThiBsc commented Jun 16, 2021

@nihgwu Thank you for your answer, and yes I finilly did it with react-table component

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

2 participants