fix(ios) keyboard no longer covers message board and input
This commit is contained in:
parent
8b038716a5
commit
fc3a743372
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue