indicator-ui 0.0.330 → 0.0.331
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -41830,10 +41830,10 @@ function useInteractiveZone() {
|
|
|
41830
41830
|
if (!ref.current) return;
|
|
41831
41831
|
var isClickInTarget = ref.current.contains(target);
|
|
41832
41832
|
var isClickInAddition = addition.find(function (item) {
|
|
41833
|
-
return item.contains(target);
|
|
41833
|
+
return !!(item !== null && item !== void 0 && item.contains(target));
|
|
41834
41834
|
}) !== undefined;
|
|
41835
41835
|
var isClickInIgnored = ignore.find(function (item) {
|
|
41836
|
-
return item.contains(target);
|
|
41836
|
+
return !!(item !== null && item !== void 0 && item.contains(target));
|
|
41837
41837
|
}) !== undefined;
|
|
41838
41838
|
if (isClickInTarget || isClickInAddition) {
|
|
41839
41839
|
onInnerClick === null || onInnerClick === void 0 || onInnerClick();
|