moti: MotiPressable stops firing onPresses on Android
On Android (emulator and device), MotiPressable
stops firing the onPress
after a couple of times or doesn’t fire it at all, while Pressable
works fine. 🤔 iOS has no issues.
Any idea why this might be and/or what the fix is?
I’ve tried it on the latest RNGH and it happens still.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (8 by maintainers)
Commits related to this issue
- fix: MotiPressable on Android, close #179 — committed to nandorojo/moti by nandorojo 2 years ago
- Last changes removed AP from FAB because of nandorojo/moti/issues/179 — committed to hajpson/testProject by koz-spyro 8 months ago
Published a fix at
0.0.18-alpha.15
.yarn add moti@canary
. Will be part of the v18 release.I tried using pure
TouchableWithoutFeedback
from RNGH and the result is the same. It won’t do anything when pressed. A related issue here: https://github.com/software-mansion/react-native-gesture-handler/issues/864. This also impacts solito’s MotiLink since it is using the same component under the hood.