diff --git a/src/__tests__/__snapshots__/index.js.snap b/src/__tests__/__snapshots__/index.js.snap index 50fa74b..68c992b 100644 --- a/src/__tests__/__snapshots__/index.js.snap +++ b/src/__tests__/__snapshots__/index.js.snap @@ -20,7 +20,6 @@ Object { exports[`getInputProps 1`] = ` Object { - "focused": undefined, "onBlur": [Function], "onFocus": [Function], "pattern": "[0-9]*", @@ -32,7 +31,6 @@ Object { exports[`getInputProps 2`] = ` Object { - "focused": true, "onBlur": [Function], "onFocus": [Function], "pattern": "[0-9]*", diff --git a/src/index.js b/src/index.js index add4245..9db66d9 100644 --- a/src/index.js +++ b/src/index.js @@ -120,7 +120,6 @@ module.exports = exports.default = class StepperPrimitive extends React.Componen pattern: numericPattern, onBlur: callAll(props.onBlur, this.handleBlur), onFocus: callAll(props.onFocus, this.handleFocus), - focused: this.state.focused, // When the input is focused, let the user type freely. // When the input isn't, lock it to the current value ...this.state.focused ? {} : {