React-native-gesture-handler: onPress just do not works on Component Buttons

Created on 18 Sep 2018  ·  10Comments  ·  Source: software-mansion/react-native-gesture-handler

I configurate everything, but when i use BaseButton, RectButton or BorderlessButton, they dont fire the onPress method. Rly strange i tap and they animate.

What could be the cause?

RN: 0.51.0
React: 16.0.0

Most helpful comment

@osdnk @vlkosinov RectButton triggers onPress if used in FlatList renderItem, but not in SectionList renderItem! Test in Android platform , not sure in ios platform!

All 10 comments

Yes, onPress just not works, dont trigger any error, nothing... rly strange, ia have see on another issue closed here, thar in some versions of RN dont work... so i dont know why.

Please try to install this lib in empty project produced by “react-native
init”
On Fri, 21 Sep 2018 at 21:34, Fabian Carlos notifications@github.com
wrote:

Yes, onPress just not works, dont trigger any error, nothing... rly
strange, ia have see on another issue closed here, thar in some versions of
RN dont work... so i dont know why.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kmagiera/react-native-gesture-handler/issues/291#issuecomment-423632382,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEX1rw1gvZRDC6JD75-G7Hp3iogSKoT7ks5udTE7gaJpZM4WuxSr
.

This issue appears to be inactive, so I'm to close it. If you still face your problem, please let us know immediately, but I'm afraid you should attach some code in order to reproduce your case.

@osdnk @vlkosinov RectButton triggers onPress if used in FlatList renderItem, but not in SectionList renderItem! Test in Android platform , not sure in ios platform!

the RectButton and BaseButton are not triggering onPress for me neither

Same not working

Same for me
Strange

Same for me
Strange

bump

Was this page helpful?
0 / 5 - 0 ratings