react-native-action-button icon indicating copy to clipboard operation
react-native-action-button copied to clipboard

Not working on iPhone 6 7 8 (3D touch)

Open IgorVanian opened this issue 7 years ago • 2 comments

The buttons are not tappable unless pressed in a specific way (reproducible in emulator). I think it's a React Native's panResponder issue but is there a workaround?

Edit: When using onPressIn or onPressOut instead of onPress, it works well.

Edit 2: Actually, the real fix seems to be "rejectResponderTermination" property passed to every Touchable element inside ActionButton which eliminates the 3D touch problem.

IgorVanian avatar Mar 07 '18 11:03 IgorVanian

@IgorVanian is the "real fix" can be transformed to a pull-request?

MaxInMoon avatar Mar 12 '18 13:03 MaxInMoon

Done.

https://github.com/mastermoo/react-native-action-button/pull/267

IgorVanian avatar Mar 12 '18 14:03 IgorVanian