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

Add a demo example of react-beautiful-dnd. #173

Closed
NickJiangDev opened this issue Sep 5, 2023 · 3 comments · Fixed by #174
Closed

Add a demo example of react-beautiful-dnd. #173

NickJiangDev opened this issue Sep 5, 2023 · 3 comments · Fixed by #174

Comments

@NickJiangDev
Copy link

When I want to use react-beautiful-dnd in conjunction with virtua, I'm confused about how to use ref. Could the author provide a specific example?

@inokawa
Copy link
Owner

inokawa commented Sep 5, 2023

I added an example. It was actually bit tricky!

https://inokawa.github.io/virtua/?path=/story/advanced-with-react-beautiful-dnd--default

@NickJiangDev
Copy link
Author

I added an example. It was actually bit tricky!

https://inokawa.github.io/virtua/?path=/story/advanced-with-react-beautiful-dnd--default

Thank you for your time and effort. It's of great value to me, and with your help, I've achieved my goal. I appreciate it very much!

@mikeyaworski
Copy link

Does anyone have a working solution for when the height of an item is unknown? That example above is good, but it breaks if you don't have equal heights for every item (min height won't work for every element).

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

Successfully merging a pull request may close this issue.

3 participants