yamankatby / react-native-material

Modular and customizable Material Design UI components for React Native
https://rn-material.js.org
MIT License
223 stars 38 forks source link

TextInput - Label overlapps input when focusing out #50

Closed mikemangas closed 1 year ago

mikemangas commented 1 year ago

I have the problem, that whenever i type into the textinput field (outlined), it works well - the label goes above the text (screenshot 1). But whenever i focus out, to another input-field, the label goes to its initial place (screenshot 2). I guess it has to do, that the textinput field does not know, that it has a value - but i am not sure how to fix that. I used the same code the documentations providing (here: https://www.react-native-material.com/docs/components/text-input)

tested on: IOS Simulator, Android Simulator and Poco X2 phone - with the newest react native version and newest react-native-material version.

Screenshot 2022-11-21 at 22 51 32 Screenshot 2022-11-21 at 22 51 42
mikemangas commented 1 year ago

solved: as in the description explained, the value of my textinput was missing... and that was the problem.

yamankatby commented 1 year ago

Hey @mikemangas, Thank you for considering giving feedback 🤩 and closing this issue