Open mikeyaworski opened 1 month ago
Still need to do virtualization for movies list in autocomplete component, and maybe for movies within a list as well (if it works well with DnD)
aa7c5ee6d6b5da7b67e5a60514ce7cbf497b9298
The last remaining part for list virtualization is on the movies List component. It's tricky to get it working properly due to the dynamic heights of the items, in combination with the fact that the list must be drag-and-drop. There is a decent demo for it with virtua
here: https://inokawa.github.io/virtua/?path=/story/advanced-with-react-beautiful-dnd--default, but it breaks for items that are not a static height (because the min height style cannot be determined).
WIP branch: https://github.com/mikeyaworski/Utility-Discord-Bot-Website/tree/virtualized-lists
Consider using other drag-and-drop options as well: https://www.reddit.com/r/reactjs/comments/1eln18p/since_reactbeautifuldnd_is_now_abandoned_which/
e108fbab7af21885d55f1e42a2ffd011dbe315a8