Skip to content

Commit

Permalink
chore: resolve conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
rxliuli committed Oct 13, 2022
1 parent aa2149c commit 09bee70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/AdaptivePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,8 @@ export default class AdaptivePopover extends Component<AdaptivePopoverProps, Ada
count = 0;
do {
rect = await getRectForRef(fromRef);
// console.log('rect', rect)
if ([rect.x, rect.y, rect.width,rect.height].every(i => 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);
Expand Down

0 comments on commit 09bee70

Please sign in to comment.