cobalt
cobalt copied to clipboard
Safari macOS : Popup is blurred on non HiDPI Screen
bug description
Any .popup windows appear blurred on Safari, caused by transform: translate(-50%,-50%); in .popup.visible css declaration. This does not happen on firefox
reproduction steps steps to reproduce the behavior:
- click on any links at the bottom that popup a windows
- text is blurred
screenshots
With transform: translate(-50%,-50%);
:
With transform: translate(-50%,-50%);
in .popup.visible and transform: translate(-50%,-48%)scale(.95);
in .popup unticked in dev tools :
It still show as slightly blurred though.
On Firefox (same platform), the result is prefect :
platform
-
OS : macOS
-
browser Safari / This does not happen on firefox
-
version : Version 17.3.1 (19617.2.4.11.12) / Sonoma 14.3.1
Note : This issue seems to only affect external-no HiDPI screen on macOS. While Firefox handles it fine. I directly checked cobalt on my MBP Native screen and it renders sharply. Not sure if there's a workaround.