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.modern.js
CHANGED
@@ -707,7 +707,7 @@ var FormSelectMultiples = /*#__PURE__*/function (_React$Component) {
|
|
707
707
|
};
|
708
708
|
|
709
709
|
_this.detectClickOutside = function (event) {
|
710
|
-
if (!_this.containerRef.current.contains(event.target)) {
|
710
|
+
if (_this.refComponent && _this.refComponent.current && !_this.containerRef.current.contains(event.target)) {
|
711
711
|
_this.setState({
|
712
712
|
isDisplay: false
|
713
713
|
});
|