Skip to content

Commit

Permalink
Fix - HTML Editor - Keyboard can not be closed (#743)
Browse files Browse the repository at this point in the history
* Enable dragging down to close keyboard on html editor

* Fix lint issue
  • Loading branch information
pinarol authored Mar 13, 2019
1 parent a2342d4 commit eb5612e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/html-text-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export class HTMLInputView extends React.Component<PropsType, StateType> {
render() {
return (
<KeyboardAvoidingView style={ styles.container } parentHeight={ this.props.parentHeight }>
<ScrollView style={ { flex: 1 } } >
<ScrollView
style={ { flex: 1 } }
keyboardDismissMode="interactive" >
<TextInput
autoCorrect={ false }
textAlignVertical="center"
Expand Down

0 comments on commit eb5612e

Please sign in to comment.