TouchableWithoutFeedback does not support style #44070
Labels
Component: TouchableWithoutFeedback
Needs: Author Feedback
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Needs: Triage 🔍
Description
the
TouchableWithoutFeedback
component does not support styling.There was another issue about this problem which is closed, and not fixed. it was suggested to add a
View
insideTouchableWithoutFeedback
and add style toView
.But it does not fix the problem! for example if if you want to create a circular
TouchableWithoutFeedback
, that is only touchable from inside the circle (onPress
be called only if the circle area is touched), you should be able to add aborderRadius
style toTouchableWithoutFeedback
component itself.Steps to reproduce
create a
TouchableWithoutFeedback
component, and add style to it.React Native Version
0.73.6
Affected Platforms
Runtime - Android, Runtime - iOS
Output of
npx react-native info
Reproducer
http://localhost:3000
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: