diff --git a/src/components/TextInput.js b/src/components/TextInput.js index 0f71b8c..0eaed6e 100644 --- a/src/components/TextInput.js +++ b/src/components/TextInput.js @@ -225,6 +225,10 @@ class TextInput extends React.Component { }).start(); _handleFocus = (...args) => { + if (this.props.disabled) { + return; + } + this.setState({ focused: true }); if (this.props.onFocus) { @@ -233,6 +237,10 @@ class TextInput extends React.Component { }; _handleBlur = (...args) => { + if (this.props.disabled) { + return; + } + this.setState({ focused: false }); if (this.props.onBlur) {