ptmt / react-native-macos

[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
MIT License
11.25k stars 429 forks source link

TouchableHighlight works only with the first touch #240

Open unmec opened 5 years ago

unmec commented 5 years ago

🐛 Bug Report

TouchableHighlight works only with the first touch, then there are no more highlight effect when user clicks the second or the third time.

To Reproduce

<TouchableHighlight underlayColor='#fff' onPress={() => console.log('Pressed')}>
  <Image source={require('./settings.png')} style={{width: 25, height: 25}} />
</TouchableHighlight>

Expected Behavior

The highlight should work when user clicks.

Minimal Reproduction

(For bugs that cannot be reproduced within RNTester, please provide a minimal repository.)

Environment

aleclarson commented 5 years ago

Try out #228 and LMK if that works for you.