Skip to content

Commit 207867b

Browse files
committed
#WOA-2434|Resolved|Make input values in the link dialog visible
1 parent 4f778fe commit 207867b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/RichTextEditor.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ export default class RichTextEditor extends Component {
170170
<Text style={styles.inputTitle}>Title</Text>
171171
<View style={styles.inputWrapper}>
172172
<TextInput
173-
style={{height: 20}}
173+
style={styles.input}
174174
onChangeText={(text) => this.setState({linkTitle: text})}
175175
value={this.state.linkTitle}
176176
/>
177177
</View>
178178
<Text style={[styles.inputTitle ,{marginTop: 10}]}>URL</Text>
179179
<View style={styles.inputWrapper}>
180180
<TextInput
181-
style={{height: 20}}
181+
style={styles.input}
182182
onChangeText={(text) => this.setState({linkUrl: text})}
183183
value={this.state.linkUrl}
184184
keyboardType="url"
@@ -563,6 +563,10 @@ const styles = StyleSheet.create({
563563
inputTitle: {
564564
color: '#4a4a4a'
565565
},
566+
input: {
567+
height: PlatfomIOS ? 20 : 40,
568+
paddingTop: 0
569+
},
566570
lineSeparator: {
567571
height: 1 / PixelRatio.get(),
568572
backgroundColor: '#d5d5d5',

0 commit comments

Comments
 (0)