Bläddra i källkod

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

master
Calinteodor 4 år sedan
förälder
incheckning
fc3a743372
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 7 tillägg och 2 borttagningar
  1. 7
    2
      react/features/base/modal/components/JitsiModal.js

+ 7
- 2
react/features/base/modal/components/JitsiModal.js Visa fil

@@ -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,

Laddar…
Avbryt
Spara