Skip to content

Commit

Permalink
feat: render multilines properly on web
Browse files Browse the repository at this point in the history
  • Loading branch information
jaulz committed Jan 15, 2018
1 parent 073b396 commit a082ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/field/index.js
Expand Up @@ -392,7 +392,7 @@ export default class TextField extends PureComponent {
{ borderBottomColor, borderBottomWidth }),

...(props.multiline?
{ height: labelHeight + inputContainerPadding + height }:
{ height: 'web' === Platform.OS ? 'auto' : labelHeight + inputContainerPadding + height }:
{ height: labelHeight + inputContainerPadding + fontSize * 1.5 }),
};

Expand Down

0 comments on commit a082ca2

Please sign in to comment.