You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that onBlur handler only state changes
onBlur() {
this.setState({
open: false,
});
}
without call a trigger onOpen/onClose. So if I pass onClose prop, my onClose will not be called on onBlur. Does it make sense to call setOpen(false) in onBlur?
onBlur() {
this.setOpen(false);
}
The text was updated successfully, but these errors were encountered:
Hello!
I've noticed that onBlur handler only state changes
without call a trigger onOpen/onClose. So if I pass onClose prop, my onClose will not be called on onBlur. Does it make sense to call setOpen(false) in onBlur?
The text was updated successfully, but these errors were encountered: