We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0efd702 commit 9865ec5Copy full SHA for 9865ec5
src/index.js
@@ -220,7 +220,7 @@ class MaskedInput extends React.Component {
220
if (this.mask.paste(e.clipboardData.getData('Text'))) {
221
e.target.value = this.mask.getValue()
222
// Timeout needed for IE
223
- setTimeout(this._updateInputSelection, 0)
+ setTimeout(this._updateInputSelection.bind(this), 0)
224
if (this.props.onChange) {
225
this.props.onChange(e)
226
}
0 commit comments