react-native-sortable-grid
react-native-sortable-grid copied to clipboard
how to set inactive = false. to it's child
i'm not able to stop draggable for some items in array. so i need to stop some item to drag with another item how to set inactive true please give me some example
same issue for me: inactive={false} doesn't do anything
actually looks like the main index.js file here in github has the inactive property, while missing in my project's node_modules... so something tied to package manager?
Im experiencing the same thing
One hack that I found....add
<TouchableWithoutFeedback disabled={false} >
When you want to disable the touch events on the the grid. Make sure it has width and height set to 100% so it captures all the touch events.
The inactive property actually works on this one:
https://github.com/reidkersey/react-native-sortable-grid#readme