We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5bd868 commit eb52d20Copy full SHA for eb52d20
1 file changed
src/ReactCodeInput.js
@@ -43,7 +43,7 @@ class ReactCodeInput extends Component {
43
}
44
45
UNSAFE_componentWillReceiveProps(nextProps) {
46
- if (nextProps.value == null) {
+ if (nextProps.value == null || nextProps.value === this.props.value) {
47
return;
48
49
0 commit comments