zarebin-player-library 1.0.28 → 1.0.30
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.
|
@@ -22574,7 +22574,7 @@ var Popover = forwardRef(({ children, status, onClose, type, classNames, parentC
|
|
|
22574
22574
|
const [showPopover, setShowPopover] = useState(status);
|
|
22575
22575
|
const [maxHeight, setMaxHeight] = useState(0);
|
|
22576
22576
|
const [maxHeightOnTouchMove, setMaxHeightOnTouchMove] = useState(0);
|
|
22577
|
-
const [zIndexOnCatchUp, setZIndexOnCatchUp] = useState(
|
|
22577
|
+
const [zIndexOnCatchUp, setZIndexOnCatchUp] = useState(1);
|
|
22578
22578
|
useEffect(() => {
|
|
22579
22579
|
setShowPopover(status);
|
|
22580
22580
|
}, [status]);
|
|
@@ -22592,7 +22592,7 @@ var Popover = forwardRef(({ children, status, onClose, type, classNames, parentC
|
|
|
22592
22592
|
setZIndexOnCatchUp(zIndex.maxPopover);
|
|
22593
22593
|
} else {
|
|
22594
22594
|
setMaxHeightOnTouchMove(0);
|
|
22595
|
-
setTimeout(() => setZIndexOnCatchUp(
|
|
22595
|
+
setTimeout(() => setZIndexOnCatchUp(1), 500);
|
|
22596
22596
|
}
|
|
22597
22597
|
else {
|
|
22598
22598
|
if (maxHeightOnTouchMove > maxHeight / 2) setMaxHeightOnTouchMove(maxHeight);
|