-
-
Notifications
You must be signed in to change notification settings - Fork 958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TouchableWithoutFeedback not working with flexbox #864
Comments
Also same here. |
You can try to use height instead of flex on the |
Flex doesn't seem to work at all inside Touchables. |
Wondering why there is no any reaction on this topic??! It's critical problem.. having same issue with TouchableOpacity.. if i use TouchableOpacity from react-native libary then everything works well |
wrap the touchable that you are getting from gesture handler with a /View/ and apply the styling to the view it should work |
Got to debug few hours to figure this out ! |
@jakub-gonet could you please look into this? It's really frustrating. I also have this issue and only fix I see is to switch to standard react-native TouchableWithoutFeedback, but what is the purpose then 😃 |
Still experiencing this problem with |
Same issue here.. Tested with With |
Didn't realize a whole bunch of buttons weren't working on android because of this again. Any chance someone could take a look at this? |
Really don't mean to distract from the issue at hand which is still an issue. But, I've managed to use |
The issue comes from the way touchables are implemented. Basically they are composed of two views: containerStyle={{ flex: 1 }}
style={{ flex: 1 }} props to the |
Since the above comment explains how it works under the hood, I think we can close this issue. Feel free to comment if you have any questions and we can always reopen it. |
I am having some trouble showing {children} when using this setup.
If I use react-native's TouchableWithoutFeedback it works. But when I import TouchableWithoutFeedback from react-native-gesture-handler it does not show my {children}.
And react-native's touchable blocks the view responder events, and I need to be receiving both. Do you guys have any idea what's wrong?
`
The text was updated successfully, but these errors were encountered: