From aa2149ce3ff5e04c3f26d24c6bf0473b4f6449dd Mon Sep 17 00:00:00 2001 From: rxliuli Date: Sat, 8 Oct 2022 14:33:16 +0800 Subject: [PATCH 1/2] 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 => { From 09bee705372526786209afb104c972938cf69ac1 Mon Sep 17 00:00:00 2001 From: rxliuli Date: Thu, 13 Oct 2022 09:46:26 +0800 Subject: [PATCH 2/2] chore: resolve conversation --- src/AdaptivePopover.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AdaptivePopover.tsx b/src/AdaptivePopover.tsx index fb7d298..bc0baf2 100644 --- a/src/AdaptivePopover.tsx +++ b/src/AdaptivePopover.tsx @@ -230,9 +230,8 @@ export default class AdaptivePopover extends Component i === undefined)) { - console.log('rect not found') + this.debug('rect not found') return } rect = new Rect(rect.x + horizontalOffset, rect.y + verticalOffset, rect.width, rect.height);