react-native-draggable icon indicating copy to clipboard operation
react-native-draggable copied to clipboard

Add functionality to disable only the drag capability

Open F462 opened this issue 5 years ago • 1 comments

For the case that it should not be possible to drag the Draggable anymore, but it should still react to touch events, a dragDisabled flag is added in this PR. Some trailing whitespace is removed as well.

F462 avatar Aug 24 '20 09:08 F462

Hi, @tongyy! Could you please review it? I find this very useful to have for example an action onShortPressRelease but not move the element. Thanks!

shapovalstas avatar Aug 29 '20 10:08 shapovalstas