From aa2149ce3ff5e04c3f26d24c6bf0473b4f6449dd Mon Sep 17 00:00:00 2001 From: rxliuli Date: Sat, 8 Oct 2022 14:33:16 +0800 Subject: [PATCH] fix issue 145 --- src/AdaptivePopover.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/AdaptivePopover.tsx b/src/AdaptivePopover.tsx index ba7e0fd..fb7d298 100644 --- a/src/AdaptivePopover.tsx +++ b/src/AdaptivePopover.tsx @@ -230,6 +230,11 @@ export default class AdaptivePopover extends Component i === undefined)) { + console.log('rect not found') + return + } rect = new Rect(rect.x + horizontalOffset, rect.y + verticalOffset, rect.width, rect.height); await new Promise(resolve => {