web: Common: Fixed turn off onClickOutside on unmount AdvancedSelector

This commit is contained in:
Alexey Safronov 2019-12-15 21:37:42 +03:00
parent 9ee008b009
commit f451d8f1a3

View File

@ -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 = () => {