ui-kit-ck-consultant 0.5.306 → 0.5.307
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -710,7 +710,7 @@ var FormSelectMultiples = /*#__PURE__*/function (_React$Component) {
|
|
710
710
|
};
|
711
711
|
|
712
712
|
_this.detectClickOutside = function (event) {
|
713
|
-
if (!_this.containerRef.current.contains(event.target)) {
|
713
|
+
if (_this.refComponent && _this.refComponent.current && !_this.containerRef.current.contains(event.target)) {
|
714
714
|
_this.setState({
|
715
715
|
isDisplay: false
|
716
716
|
});
|