esbenp / react-native-clean-form

Easy react-native forms using bootstrap-like syntax with redux-form+immutablejs integration. Styled using styled-components
http://esbenp.github.io/2017/01/06/react-native-redux-form-immutable-styled-components/
MIT License
478 stars 83 forks source link

Fix text alignment issue on android #35

Closed markusguenther closed 7 years ago

markusguenther commented 7 years ago

When you use custom themes the text in input fields is maybe larger. Then it can happen that the text is cut off on the top.

The reason is the bar below the text on android. There is no way to disable the line. You can only hide the line but the padding is still there.

This only occurs when the input has a defined height. Otherwise, the framework arranges everything.

So we don`t need the height in the input component. The height will be also defined in the FormGroup.

Fixes: #34