expo / expo/react-native-touchable-native-feedback-safe
When TouchableOpacity wraps a View, flex:1 in row doesn't stretch a touchable
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Demo [https://snack.expo.io/@zubko/touchable-native-feedback-safe-issue-with-flex1-in-row
](https://snack.expo.io/@zubko/touchable-native-feedback-safe-issue-with-flex1-in-row)

There should be 3 red buttons, but there is only 1 on iOS and 2 on Android (since TouchableWithNativeFeedback works well when it doesn't have style and the View has it).
When TouchableOpacity has style prop then it works as expected.
So I think the View should be removed for a TouchableFallback
~~~js
{children}
~~~
(or at least when TouchableFallback is a TouchableOpacity)
but I'm not sure, maybe there are some important reasons why it is like?
~~~js
{children}
~~~
Is this component still used in Expo?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.