You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiPopover][EuiSuperDatePicker] Blurry popover content when opening in Chrome #4521
Describe the bug: When clicking on the time picker in Kibana (Discover, for example) the time picker is quite blurry for a fraction of a second.
I think that the same behavior in any popover in EUI examples, but most noticeable in super date picker
Firefox has a slight and quite acceptable blur and Safari mostly none.
Disabling accessibility:disableAnimations reduces the problem considerably.
Screenshots (if relevant):
Any additional context:
Relevant Kibana issue: elastic/kibana#91294 I think I started noticing it after a recent chrome upgrade, so it might be a chrome bug we could try to workaround.
Not sure if there is a recent EUI change that started causing this (didn't check earlienr EUI versions)
Also noticed this today AFTER doing a manual Chrome update. This is definitely related to the transform being applied. This appears in other transforms as well.
Ugh Chrome, what are you doing?! I, honestly, remember this being an issue back in the day when a transform would land on a half pixel. Looks like they've reintroduced it? I'm really not sure what the course of action is here because it's definitely a Chrome bug (or do they call it a feature 😦 ) and we can't just turn of all transforms.
Also, I"m on Chrome 88 Mac, and I see the blurryness of the popover content while the popover is animating, but when it comes to rest it's crisp again.
Activity
snide commentedon Feb 16, 2021
Also noticed this today AFTER doing a manual Chrome update. This is definitely related to the transform being applied. This appears in other transforms as well.
cchaos commentedon Feb 16, 2021
Ugh Chrome, what are you doing?! I, honestly, remember this being an issue back in the day when a transform would land on a half pixel. Looks like they've reintroduced it? I'm really not sure what the course of action is here because it's definitely a Chrome bug (or do they call it a feature 😦 ) and we can't just turn of all transforms.
cchaos commentedon Feb 16, 2021
Also, I"m on Chrome 88 Mac, and I see the blurryness of the popover content while the popover is animating, but when it comes to rest it's crisp again.
cchaos commentedon Feb 16, 2021
It seems adding
will-changedoes fix this, but at what cost?https://developers.google.com/web/fundamentals/design-and-ux/animations/animations-and-performance
https://developer.mozilla.org/en-US/docs/Web/CSS/will-change
Dosant commentedon Feb 16, 2021
@cchaos, yes, this is what I meant. sorry if it wasn't clear from the description.
cchaos commentedon Feb 16, 2021
I've setup a PR here if you all wouldn't mind giving it a spin. You can wait for the CI auto-build. #4527
Dosant commentedon Feb 17, 2021
@cchaos, with the fix it is definitely sharper 👍