diff --git a/src/AdaptivePopover.tsx b/src/AdaptivePopover.tsx index ba7e0fd..bc0baf2 100644 --- a/src/AdaptivePopover.tsx +++ b/src/AdaptivePopover.tsx @@ -230,6 +230,10 @@ export default class AdaptivePopover extends Component i === undefined)) { + this.debug('rect not found') + return + } rect = new Rect(rect.x + horizontalOffset, rect.y + verticalOffset, rect.width, rect.height); await new Promise(resolve => {