web: Common: Fixed turn off onClickOutside on unmount AdvancedSelector
This commit is contained in:
parent
9ee008b009
commit
f451d8f1a3
@ -79,7 +79,7 @@ class AdvancedSelector extends React.Component {
|
||||
this.throttledResize && this.throttledResize.cancel();
|
||||
window.removeEventListener("resize", this.throttledResize);
|
||||
}
|
||||
this.props.enableOnClickOutside(false);
|
||||
this.props.disableOnClickOutside();
|
||||
}
|
||||
|
||||
getTypeByWidth = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user