evblurbs / react-native-md-textinput

React Native TextInput styled with Material Design.
322 stars 122 forks source link

Floating label overlaps text #38

Open mdeprezzo opened 7 years ago

mdeprezzo commented 7 years ago

Hi guys, on my virtual device, android, the floating label overlaps the textinput area. Like this:

schermata del 2017-03-06 18-22-17

What am i missing ?

maartenpetit commented 7 years ago

I have the same issues when running on the Android Emulator, but no problems occur on the iOS simulator.

I haven't tried running the app on a real Android device yet.

mdeprezzo commented 7 years ago

I'll try later on my device, to see what happen.

gianu commented 7 years ago

@mdeprezzo @masterpetit I had the same issue and fixed it adding

inputStyle={{ height: 36, lineHeight: 36 }}

to the component.

mdeprezzo commented 7 years ago

Nice! Thanks man!

Il 23 mar 2017 22:23, "Sergio Rafael Gianazza" notifications@github.com ha scritto:

@mdeprezzo https://github.com/mdeprezzo @masterpetit https://github.com/masterpetit I had the same issue and fixed it adding

inputStyle={{ height: 36, lineHeight: 36 }}

to the component.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/evblurbs/react-native-md-textinput/issues/38#issuecomment-288864520, or mute the thread https://github.com/notifications/unsubscribe-auth/AGSe1nEL9fWnNa7beO5Y6u7zWhZoV28Aks5rouLegaJpZM4MUcoq .

MaxToyberman commented 7 years ago

adding dense={true} fixed the issue