From 17babe7059749bb06b439f0f24826ba4e8323582 Mon Sep 17 00:00:00 2001 From: "Blades, Stephen" Date: Mon, 11 Jul 2022 07:31:17 -0500 Subject: [PATCH] fix: correct popupOffset --- src/PopOverlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PopOverlay.js b/src/PopOverlay.js index 3499bec62..65aadd0d2 100644 --- a/src/PopOverlay.js +++ b/src/PopOverlay.js @@ -22,7 +22,7 @@ function CalOverlay({ const popperRef = useRef(null) if (!overlay.position) return null - let offset + let offset = popupOffset if (!isNaN(popupOffset)) { offset = { x: popupOffset, y: popupOffset } }