Open evansjohnson opened 5 days ago
Type
Description
Build artifact links for this commit: documentation | landing | table | demo
This is an automated comment from the deploy-preview CircleCI job.
Build artifact links for this commit: documentation | landing | table | demo
This is an automated comment from the deploy-preview CircleCI job.
Build artifact links for this commit: documentation | landing | table | demo
This is an automated comment from the deploy-preview CircleCI job.
Fixes https://github.com/palantir/blueprint/issues/6748
Checklist
Changes proposed in this pull request:
There are 3 changes in this PR, will split to separate PRs on request but figured they are closely related:
onClose
updates. We handleonClose
updating for esc key and backdrop click because the latest callback versions are always passed to the element those are attached to, but did not do a similar update to the document listeners. A test case has been added for this behavior.overlayWillClose
callback on component unmount:evanj/overlay-fix?expand=1
#diff-50ceef9007Reviewers should focus on:
overlayWillOpen
callback directly intouseEffect
hooksScreenshot
n/a