Browse Source

#WOA-2560|Resolved|Fix positioning of the link dialog in Android

Yevhen Pavliuk 8 years ago
parent
commit
69dcfe1880
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/RichTextEditor.js

+ 1
- 1
src/RichTextEditor.js View File

166
             onRequestClose={() => this.setState({showLinkDialog: false})}
166
             onRequestClose={() => this.setState({showLinkDialog: false})}
167
         >
167
         >
168
           <View style={styles.modal}>
168
           <View style={styles.modal}>
169
-            <View style={[styles.innerModal, {marginBottom: this.state.keyboardHeight}]}>
169
+            <View style={[styles.innerModal, {marginBottom: PlatfomIOS ? this.state.keyboardHeight : 0}]}>
170
               <Text style={styles.inputTitle}>Title</Text>
170
               <Text style={styles.inputTitle}>Title</Text>
171
               <View style={styles.inputWrapper}>
171
               <View style={styles.inputWrapper}>
172
                 <TextInput
172
                 <TextInput