-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EuiPopover] Don't apply willChange to popover after it is done opening & animating #4590
[EuiPopover] Don't apply willChange to popover after it is done opening & animating #4590
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_4590/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM. Thanks for making this change. I checked in Chrome, FF and Safari and they all look crisp and the DnD is visible.
Tested in Chrome 88, Firefox, Safari, and Edge. Looks good. |
a0fdf68
to
533726b
Compare
Tested in Android Chrome & added a changelog. |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4590/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4590/ |
Summary
Draft mode as I've only tested this in Chrome on Mac, but otherwise ready for review.
Fixes #4574. Caroline noticed that the
will-change
style on the popover panel broke thedisplay: fixed
usage by drag&drop. This update dynamically addswill-change
only during the popover's initial open animation, removing it after any transitions/animations have finished.Checklist
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Props have proper autodocs and playground toggles- [ ] Added documentation- [ ] Checked Code Sandbox works for the any docs examples- [ ] Added or updated jest tests- [ ] Checked for accessibility including keyboard-only and screenreader modes