[Android] Touching multiple buttons at the same time doesn't work #21912
Labels
Bug
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Environment
Run
react-native info
in your terminal and paste its contents here.Description
See the below GIFs. On iOS touching multiple buttons give the correct callbacks to the individual buttons whereas on Android, touching other buttons trigger the callbacks on the first buttons.
I'm using
onTouchStart()
andonTouchEnd()
.I tried replacing
<View onTouchStart={} onTouchEnd={} />
with<TouchableOpacity onPressIn={} onPressOut={} />
and in that case, touching the other buttons do nothing for both iOS and Android.iOS:
Android:
Reproducible Demo
Here's the
App.js
(renamed to.txt
to be able to upload) I used. Just create a new React Native project and replace theApp.js
with this file.App.txt
The text was updated successfully, but these errors were encountered: