You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No issues on android, then after testing the app on ios I had to press 10 times until something is activated.
I wrapped Pressable at first for most of my touch interaction needs with android ripple, then changed it to the new Touchable since it's the same thing but probably the new and most maintained component in the beta, so it has to be perfect.. Well, same thing.
It seems happens specifically when the Touchable is inside a parent that also has tap gesture detector. It's like they don't work simultaneously by default on ios.
For example bottom sheet that has swippable body using pan gesture detector, then buttons based on rngh primitives don't work inside. Though this one I can also guard with activeOffsetX/Y, since I don't need taps.
Or tap gesture wrapper to keyboard dismiss when clicking outside will intercept and block everything on ios.
It's like the gesture detection works bottom up on android and top down on ios? Very convenient for cross platform development, what can I say...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
No issues on android, then after testing the app on ios I had to press 10 times until something is activated.
I wrapped Pressable at first for most of my touch interaction needs with android ripple, then changed it to the new Touchable since it's the same thing but probably the new and most maintained component in the beta, so it has to be perfect.. Well, same thing.
It seems happens specifically when the Touchable is inside a parent that also has tap gesture detector. It's like they don't work simultaneously by default on ios.
For example bottom sheet that has swippable body using pan gesture detector, then buttons based on rngh primitives don't work inside. Though this one I can also guard with activeOffsetX/Y, since I don't need taps.
Or tap gesture wrapper to keyboard dismiss when clicking outside will intercept and block everything on ios.
It's like the gesture detection works bottom up on android and top down on ios? Very convenient for cross platform development, what can I say...
This works though...
Also found cancelsTouchesInView: false option on parent gestures disable this unintuitive confusing IOS quirk.
Beta Was this translation helpful? Give feedback.
All reactions