Skip to content

Commit

Permalink
Merge pull request #86 from jaulz/patch-1
Browse files Browse the repository at this point in the history
Render multilines properly on web
  • Loading branch information
n4kz committed Jan 18, 2018
2 parents 5634b52 + a082ca2 commit b526b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/field/index.js
Expand Up @@ -397,7 +397,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 b526b58

Please sign in to comment.