Skip to content

BMR-1768: Resolve getRectForRef crash on popover unmount#200

Open
ramruizni57blocks wants to merge 5 commits intoSteffeyDev:masterfrom
benetech:BMR-1768
Open

BMR-1768: Resolve getRectForRef crash on popover unmount#200
ramruizni57blocks wants to merge 5 commits intoSteffeyDev:masterfrom
benetech:BMR-1768

Conversation

@ramruizni57blocks
Copy link
Copy Markdown

Resolves unhandled promise rejection when a popover's parent unmounts while calculateRectFromRef is polling — getRectForRef now resolves with a zero Rect instead of rejecting when ref.current is null

@AdamGerthel
Copy link
Copy Markdown
Collaborator

You seem to have added a whole dist folder which doesn't make sense. Remove them so it's easier to see what you actually changed in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants