diff --git a/src/AztecView.js b/src/AztecView.js index 9ce3f20..fa668a9 100644 --- a/src/AztecView.js +++ b/src/AztecView.js @@ -120,10 +120,14 @@ class AztecView extends React.Component { onSelectionChange(selectionStart, selectionEnd, text); } - _onPress = () => { + focus = () => { TextInputState.focusTextInput(ReactNative.findNodeHandle(this)); } + _onPress = () => { + this.focus(); + } + render() { const { onActiveFormatsChange, ...otherProps } = this.props return (