@skedulo/sked-ui 21.4.0 → 21.4.1
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10526,7 +10526,7 @@ var PopOut = function PopOut(props) {
|
|
|
10526
10526
|
}, [visible, triggerRef.current]);
|
|
10527
10527
|
react__WEBPACK_IMPORTED_MODULE_2__["useEffect"](function () {
|
|
10528
10528
|
if (!closeOnScroll || !triggerRect || !triggerRef) {
|
|
10529
|
-
return
|
|
10529
|
+
return undefined;
|
|
10530
10530
|
}
|
|
10531
10531
|
|
|
10532
10532
|
var onScroll = function onScroll() {
|
|
@@ -10555,7 +10555,7 @@ var PopOut = function PopOut(props) {
|
|
|
10555
10555
|
}, [closeOnScroll, triggerRef.current, triggerRect]);
|
|
10556
10556
|
react__WEBPACK_IMPORTED_MODULE_2__["useEffect"](function () {
|
|
10557
10557
|
if (!closeOnOuterClick) {
|
|
10558
|
-
return
|
|
10558
|
+
return undefined;
|
|
10559
10559
|
}
|
|
10560
10560
|
|
|
10561
10561
|
var onBodyClick = function onBodyClick(event) {
|