Skip to content
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

will-change: transform makes keyboard very blurry #98

Open
filiptdz opened this issue Dec 4, 2024 · 0 comments · May be fixed by #99
Open

will-change: transform makes keyboard very blurry #98

filiptdz opened this issue Dec 4, 2024 · 0 comments · May be fixed by #99
Labels
bug Something isn't working

Comments

@filiptdz
Copy link

filiptdz commented Dec 4, 2024

Describe the bug
Zooming in on the Keyboard makes the keys very blurry, both the fonts for the letters inside and the background itself. Removing the will-change: transform property fixes this issue.

To Reproduce
I've initially had this happen on the standalone app, however, it also applies on the storybook:

  1. Launch the storybook, on the Keyboard > PhysicalLayout > Docs page
  2. Click the "zoom" button
  3. See that the keys are visibly antialiased
  4. If any keys are hovered, they'll revert back to a non-blurry version after the animation

Expected behavior
Keys should be clear, and if there's any antialiasing, it shouldn't be super noticeable.

Screenshots
image
image
image

Environment (please complete the following information):

  • OS: MacOS
  • Browser or App: Chromium or standalone MacOS ARM application (Webkit?)
  • Version: Currently on main (v0.2.4)
  • Device: N/A

Additional context
N/A

@filiptdz filiptdz added the bug Something isn't working label Dec 4, 2024
@filiptdz filiptdz linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant