fix(ios) keyboard no longer covers message board and input

This commit is contained in:
Calinteodor 2021-04-06 13:07:24 +03:00 committed by GitHub
parent 8b038716a5
commit fc3a743372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// @flow // @flow
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import { KeyboardAvoidingView, SafeAreaView } from 'react-native'; import { KeyboardAvoidingView, Platform, SafeAreaView } from 'react-native';
import { ColorSchemeRegistry } from '../../color-scheme'; import { ColorSchemeRegistry } from '../../color-scheme';
import { HeaderWithNavigation, SlidingView } from '../../react'; import { HeaderWithNavigation, SlidingView } from '../../react';
@ -106,7 +106,12 @@ class JitsiModal extends PureComponent<Props> {
position = { position } position = { position }
show = { _show }> show = { _show }>
<KeyboardAvoidingView <KeyboardAvoidingView
behavior = 'height' behavior =
{
Platform.OS === 'ios'
? 'padding' : 'height'
}
enabled = { true }
style = { [ style = { [
_headerStyles.page, _headerStyles.page,
_styles.page, _styles.page,