Skip to content

TextInput hides label onBlur on Web #960

@murtraja

Description

@murtraja

Environment

react-native-paper: 2.15.0
react-native: 0.57.5
react-native-web: 0.9.13

Description

Focus the TextInput and then click outside to defocus it. Notice that the label is gone. It has something to with the opacity. Please refer the gif. Also, before defocussing, if you enter some text and then delete the text, this doesn't happen. It only happens when you focus an empty TextInput and then defocus it WITHOUT entering any input.

Reproducible Demo

<TextInput
  label={'Enter name'}
/>

opacity_web

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions