react-native-draggable-grid
react-native-draggable-grid copied to clipboard
Getting exact position of dragged items
How can i get exact x,y coordinate positions for dragged items when dragging ended? Why i'm asking this is just because i want to catch when and where user trying to drag item outside of the grid.
I think maybe you want listen onHandMove and get the exact x, y?
@brkkyk @SHISME https://github.com/brkkyk/react-native-draggable-grid/pull/2/files I have added full activeItem into onRelease event it returns all the item info when you finish release.
对,需要一个onDragging的回调获取item的位置
对,需要一个onDragging的回调获取item的位置
好的,我周末再加下
@SHISME have you checked the pull request I have sent?