Replies: 4 comments 3 replies
-
Hey @GNUGradyn! Thanks for your suggestion. I am planning to add support for virtualized lists later in the future but rather it will take some more time. It is not easy to add the sorting feature to them as layout is not controlled by me and I can't synchronously update animated styles via reanimated in reaction to layout changes. It will require implementing some tricks to make it work and remove temporarily applied reanimated styles when items are rendered in the new order. I have some ideas how to tackle this problem but haven't started implementing it yet. |
Beta Was this translation helpful? Give feedback.
-
Ah that's a good idea too but I just meant the layout of a flat list where it's fixed to 1 axis like this, not the virtualization feature of the flat list component |
Beta Was this translation helpful? Give feedback.
-
Sounds good, thanks |
Beta Was this translation helpful? Give feedback.
-
Just for anyone else who comes across this thread you can simulate the vertical only dragging effect of a sortable flatlist with the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, this library currently supports complex sorting layouts like grid and flex. Would be nice to also have support for a simple flat vertical/horizontal sort like react-native-draggable-flatlist. This would allow such lists to be sorted with the same library/API for apps that have both flat list sorting and grid/flex sorting
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions