NTP - Fix blurry customizer text on Windows #2030
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Asana Task/Github Issue:
https://app.asana.com/1/137249556945/project/1211592734365220/task/1211664088579926
Description
Background
It seems there’s a bug in Chromium engine where animated elements become blurry in certain situations. Firefox does not have the same issue.
See: https://issues.chromium.org/issues/40431598#comment104
The issue has been fixed, but some users still report that it occasionally occurs.
I understand it’s related to opacity and animation, but I don’t fully grasp what’s happening internally, to be honest :(
Since
visibilityis set tohiddenat 0%,opacityhas no effect. I removed it to fix the blurriness issue. I don't see any visual difference after removing it.Before & After:
Testing Steps
Make sure your display scale is set to 100%. I wasn't able to reproduce the issue at 200% or 300% scale.
special-pagesdirectory and runnpm run watch -- --page new-tab?platform=windowsto the URL and open it in Windows using the Canary version of DuckDuckGo browser.CustomizerDrawerInner.module.cssfile and reapply theopacitychanges.Checklist
Please tick all that apply: