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