Browse Source

fix(dialog): use height behavior in KeyboardAvoidingView

master
Jonathan Scholz 5 years ago
parent
commit
547d1547bb
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      react/features/base/dialog/components/native/BaseDialog.js

+ 1
- 2
react/features/base/dialog/components/native/BaseDialog.js View File

17
     type State
17
     type State
18
 } from '../AbstractDialog';
18
 } from '../AbstractDialog';
19
 import { brandedDialog as styles } from './styles';
19
 import { brandedDialog as styles } from './styles';
20
-import { Platform } from '../../../react';
21
 
20
 
22
 export type Props = AbstractProps & {
21
 export type Props = AbstractProps & {
23
 
22
 
56
         return (
55
         return (
57
             <TouchableWithoutFeedback>
56
             <TouchableWithoutFeedback>
58
                 <KeyboardAvoidingView
57
                 <KeyboardAvoidingView
59
-                    behavior = { Platform.OS === 'ios' ? 'padding' : 'height' }
58
+                    behavior = 'height'
60
                     style = { [
59
                     style = { [
61
                         styles.overlay,
60
                         styles.overlay,
62
                         style
61
                         style

Loading…
Cancel
Save