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
Describe the bug:
When using the forge-split-view, the panel widths get set to fractional values, which can cause sub-pixel rendering issues most noticeable on elements with border-width: 1px, such as forge-button elements. On my monitor, I usually just see the right border get thinner, but others see the border disappear entirely. The effect can be more pronounced at certain browser zoom levels.
I'd consider this more of a browser issue, honestly, and it might be out of our control, but it keeps coming up wherever we use this component because so many common elements have 1px borders. My only thought as to how to improve the situation would be to force the panel widths to round to the nearest pixel, though I'm not sure that would be compatible with with #388, unless we calculate fractional percentages corresponding to exact pixels, though that won't always be reliable.
To Reproduce:
Steps to reproduce the behavior:
Create a layout using forge-split-view where there are some forge-button elements in each panel.
Slowly resize the panels and watch the borders occasionally flicker, either becoming thinner or disappearing entirely depending on your monitor.
Expected behavior:
Borders should always remain visible.
Screenshots:
Please complete the following information:
Forge version: 2.22.0
I have searched existing issues before creating this report? Y
Browser: All
Platform: desktop
OS: All
The text was updated successfully, but these errors were encountered:
Describe the bug:
When using the
forge-split-view
, the panel widths get set to fractional values, which can cause sub-pixel rendering issues most noticeable on elements withborder-width: 1px
, such asforge-button
elements. On my monitor, I usually just see the right border get thinner, but others see the border disappear entirely. The effect can be more pronounced at certain browser zoom levels.I'd consider this more of a browser issue, honestly, and it might be out of our control, but it keeps coming up wherever we use this component because so many common elements have 1px borders. My only thought as to how to improve the situation would be to force the panel widths to round to the nearest pixel, though I'm not sure that would be compatible with with #388, unless we calculate fractional percentages corresponding to exact pixels, though that won't always be reliable.
To Reproduce:
Steps to reproduce the behavior:
forge-split-view
where there are someforge-button
elements in each panel.Expected behavior:
Borders should always remain visible.
Screenshots:
Please complete the following information:
The text was updated successfully, but these errors were encountered: