ollija / react-native-sortable-grid

Drag-drop-sortable grid view for react native
MIT License
441 stars 173 forks source link

Is it possible to force draggable items stay where they were? #26

Open unmec opened 7 years ago

unmec commented 7 years ago

This is what it's required in my current project, when user drags away an item, I'd like to keep that space blank instead of let a nearby item filling the blank. The idea is to make items snapping to the grid but not snapping to each other.

Thoughts and comments are welcome, thanks!

ChristianTucker commented 6 years ago

You could simulate this by having blank components fill the grid, and swapping the rendered component with a blank component.