-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Dashboard] CSS Transforms lead to blurry text #169677
Comments
Pinging @elastic/kibana-presentation (Team:Presentation) |
wrt https://github.com/elastic/sdh-kibana/issues/4204#issuecomment-1777570090
do we know why this is needed (e.g. light/dark mode (?)) |
I believe so yes. The EUI Panels come with a background. The correct fix here is likely to just change which element receives the background. |
Are there any tricks to restoring the crisp / clear panels ? Or specific visualisation panel type to avoid until this is resolved. This occurred for me in Chrome and Edge. |
@bataya0 as a workaround you could try making sure your panels don't have scroll bars. |
I cant avoid scroll bars on most panels given the amount of data i have to display. I have panels on a dashboard that are clear and crisp, but if I edit and save one of the panels it goes blurry but the other panels dont, which is strange. Is the panel object behind the scenes being changed to use something newer, something we can edit and revert ? |
As far as I know, we haven't done any migrations or changes to panel styling that would be applying on editing, and I haven't been able to reproduce it. Is it happening to one specific type of chart? Lens, Maps, or TSVB for instance? |
The panels i've been seeing this occur on are Lens ones. I have an open support case tracking this #01496976 , perhaps a zoom call to show you the issue occurring might help discover other clues ? |
If we end up using a pure CSS / HTML layout engine like in this investigation, we should be able to mitigate this issue by using grid instead of transforms. |
Since we will be disabling CSS transforms for the hover panel actions, it looks like this issue will be closed by that PR without having to wait for the new layout engine 🎉 cc @cqliu1 Tested locally, and it fixed the blurry text in the saved search embeddable: |
Kibana version: 8.9, 8.10, main
Describe the bug: Certain panels on Dashboards will suffer from blurry text in certain hardware configurations and certain Dashboard panel sizes / browser zoom levels.
Steps to reproduce:
Expected behavior: Text should remain crisp on every panel in the Dashboard regardless of zoom level,
Screenshots (if relevant):
In Chrome on an intel mac:
Same Dashboard, different browsers: Left is firefox and right is a Chromium based browser (Brave).
Any additional context:
This is a regression caused by #153610. In that PR we switched React Grid Layout to use CSS transforms which increased grid load performance on certain machines. There is an issue for this on the React Grid Layout side as well.
Workarounds
The text was updated successfully, but these errors were encountered: