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.
@@ -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
  });