Updates input height on edit post (#5349) (#5355)

This commit is contained in:
Mattermost Build 2021-04-27 19:09:14 +02:00 committed by GitHub
parent a11aad3a5a
commit df00b86d26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,7 +250,7 @@ export default class EditPost extends PureComponent {
}
}
const height = Platform.OS === 'android' ? (deviceHeight / 2) - 40 : (deviceHeight / 2);
const height = Platform.OS === 'android' ? (deviceHeight / 2) - 40 : (deviceHeight / 2) - 30;
const autocompleteStyles = [
style.autocompleteContainer,
{flex: autocompleteVisible ? 1 : 0},