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

Panzoom and cdk drag&drop text sharpness #65

Open
IlyaChubko opened this issue Mar 12, 2024 · 2 comments
Open

Panzoom and cdk drag&drop text sharpness #65

IlyaChubko opened this issue Mar 12, 2024 · 2 comments

Comments

@IlyaChubko
Copy link

IlyaChubko commented Mar 12, 2024

Hello!
I add panzoom and drag&drop with div element and text inside.
While panning my font into div has low text sharpness, low quality, because of transform3d.
https://stackblitz.com/~/github.com/IlyaChubko/panning

  1. Before panning
    image
  2. After panning
    image

Can you help me?

@psd24
Copy link

psd24 commented Mar 13, 2024

I have the same problem, when I zoom in the pixelated elements are visible. Is there any solution?

@IlyaChubko
Copy link
Author

IlyaChubko commented Apr 1, 2024

This case for chrome, because in Mozilla isn't.
I have found solution - if I remove "will-change" from pan-element and zoom-element style attribute when text is normal.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants