Просмотр исходного кода

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

master
Calinteodor 4 лет назад
Родитель
Сommit
fc3a743372
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 7 добавлений и 2 удалений
  1. 7
    2
      react/features/base/modal/components/JitsiModal.js

+ 7
- 2
react/features/base/modal/components/JitsiModal.js Просмотреть файл

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import React, { PureComponent } from 'react';
4
-import { KeyboardAvoidingView, SafeAreaView } from 'react-native';
4
+import { KeyboardAvoidingView, Platform, SafeAreaView } from 'react-native';
5 5
 
6 6
 import { ColorSchemeRegistry } from '../../color-scheme';
7 7
 import { HeaderWithNavigation, SlidingView } from '../../react';
@@ -106,7 +106,12 @@ class JitsiModal extends PureComponent<Props> {
106 106
                 position = { position }
107 107
                 show = { _show }>
108 108
                 <KeyboardAvoidingView
109
-                    behavior = 'height'
109
+                    behavior =
110
+                        {
111
+                            Platform.OS === 'ios'
112
+                                ? 'padding' : 'height'
113
+                        }
114
+                    enabled = { true }
110 115
                     style = { [
111 116
                         _headerStyles.page,
112 117
                         _styles.page,

Загрузка…
Отмена
Сохранить