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

Use TouchableHighlight instead of TouchableOpacity

Open Liampronan opened this issue 7 years ago • 3 comments

so that image doesn't blink when clicked. I can create a PR for this if it sounds good. could also make it an option

https://github.com/tongyy/react-native-draggable/blob/master/Draggable.js#L174

Liampronan avatar Apr 07 '18 06:04 Liampronan

sure, it sounds good! the default "underlayColor" is black. if you can change default is "none" and add prop of underlayColor for react-native-draggable, I will accept it and publish to the new version of NPM.

tongyy avatar Apr 07 '18 23:04 tongyy

This wasn't implemented yet, right?

MartinSchere avatar Aug 06 '20 20:08 MartinSchere

Nope, instead I allowed props to be passed through to it. So you can set activeOpacity https://reactnative.dev/docs/0.8/touchableopacity#activeopacity

See touchableOpacityProps here https://github.com/tongyy/react-native-draggable#properties

baconcheese113 avatar Aug 06 '20 23:08 baconcheese113