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
Bug - [Patternfly Table] - [HiDPI (Retina Mac) rendering issue] #5016
Comments
Also visible in the basic examples - https://www.patternfly.org/v4/components/table/html |
@mattnolting would you mind having a look at this? |
@gruselhaus @mcoker This is a known webkit bug https://bugs.webkit.org/show_bug.cgi?id=243167. Looks like safari is miscalculating |
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in 30 days if no further activity occurs. |
This is still valid and furthermore was observed in Chrome too. Is there any plan on fixing this? I would appreciate more references on why this happens |
We've also encountered this in Cockpit-podman cockpit-project/cockpit-podman#1485 with some findings from @garrett here. |
We've seen this on when zoomed in on WebKit browsers, after reloading the page, when text-align is set to baseline and you have mixed elements (text and other things, like buttons). This becomes even more of a problem the more you zoom the page too. We've seen the issue on standard DPI Linux with GNOME Web too, but only when zoomed. I'm guessing HiDPI is probably similar on Linux, but haven't tested it yet. Details @ cockpit-project/cockpit-podman#1485 If you change the alignment to something other than baseline, it's fine. One possible workaround might be to declare a text-baseline a second time (keeping the initial one for all other browsers) and use Or we could change it to something else, like The alignment is not a problem with everything set at the same height (all 1-line-high text, for example); it becomes a problem for this bug (and any workarounds) when you have elements with different heights. |
Describe the problem
The row dividers of the patternfly table component is rendered incorrectly on Apple Retina Displays in Safari. This issue affects probably all HiDPI screens but I could only test it on a Mac.
How do you reproduce the problem?
Due to the fact that this problem affects all pages with Patternfly Table, this error also appears in the official demos of Patternfly.
Just open this official patternfly demo on a Retina Mac in Safari => https://codesandbox.io/s/kkk1gd
Expected behavior
The dividers should be rendered uniformly and cleanly.
Screenshots
The text was updated successfully, but these errors were encountered: