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 c2f4ef9 commit fe7a8e6Copy full SHA for fe7a8e6
components/dash-core-components/src/components/Input.react.js
@@ -33,7 +33,7 @@ export default class Input extends PureComponent {
33
34
UNSAFE_componentWillReceiveProps(nextProps) {
35
const {value} = this.input.current;
36
- if (this.state?.pendingEvent && nextProps.value !== value) {
+ if (this.state?.pendingEvent) {
37
// avoid updating the input while awaiting a debounced event
38
return;
39
}
@@ -126,6 +126,7 @@ export default class Input extends PureComponent {
126
} else {
127
this.props.setProps({value});
128
129
+ this.setState({pendingEvent: undefined});
130
131
132
debounceEvent(time = 0.5) {
0 commit comments