-
Notifications
You must be signed in to change notification settings - Fork 842
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] Some contents blinks in Safari #4534
Comments
@cchaos If this doesn't need any design work I am willing to work on this. Also just to know is this bug only exist in safari. |
Shouldn't be a design specific issue and yes only in Safari. Thanks! |
Working on it. |
@cchaos I got the solution for this I believe that properties assigned to To fix this we have to Remove all style rules for *:before, *:after. We can't use the cascade to override those styles since any style rule for this selector will trigger the bug. Below is the styling of the
|
Thanks for investigating this @git-anurag-hub. As I was testing this theory in the Safari inspector, I found that more so than the pseudo elements, are all the Both properties pose a problem that are not easily solvable. We can't just blanket remove all pseudo elements or transitions from these components. This will require more investigating to see if there's a way to solve at the JS/React level to discourage repaints. |
Looks like this does happen with some other popover configurations.
|
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
What timing, actions bot! This will most likely be fixed by #5249 |
Actually I can't replicate this at all in Safari anymore. Closing |
This doesn't seem to happen on other EuiPopover instances from what I can tell. Though could be attributed to some auto-focus bit. But the contents is there during the animation, then when the animation stops the content disappears for a moment then reappears. (Only in Safari)
Screen.Recording.2021-02-16.at.12.48.21.PM.mp4
The text was updated successfully, but these errors were encountered: