Current behaviour
If you use the right or left of a TextInput to display icons inside React Native's Modal component, the icons will not be displayed
Expected behaviour
Display the icons as it should
How to reproduce?
https://snack.expo.dev/@mreinert/carefree-violet-turkish-delight
Preview
What have you tried so far?
Tried using the left and right props of a TextInput, I can confirm that Icon and IconButton are displayed correctly inside a Modal if used as a component on their own
Your Environment
| software |
version |
| ios |
17.4 |
| android |
36 |
| react-native |
0.76.9 |
| react-native-paper |
5.13.1 |
| node |
23.11.0 |
| npm or yarn |
bun 1.1.33 |
| expo sdk |
52.0.44 |
Current behaviour
If you use the
rightorleftof aTextInputto display icons inside React Native'sModalcomponent, the icons will not be displayedExpected behaviour
Display the icons as it should
How to reproduce?
https://snack.expo.dev/@mreinert/carefree-violet-turkish-delight
Preview
What have you tried so far?
Tried using the
leftandrightprops of aTextInput, I can confirm thatIconandIconButtonare displayed correctly inside aModalif used as a component on their ownYour Environment