Skip to content

TextInput not displaying icons inside a Modal #4711

@shinobu-uwu

Description

@shinobu-uwu

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

Image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions