-
Notifications
You must be signed in to change notification settings - Fork 92
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
fix(NcPopover): blurry content on scaled page in Chromium #6512
Conversation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
.v-popper__wrapper { | ||
/* | ||
* In theory, "filter: drop-shadow" would look better here with arrow shadow. | ||
* In fact, in results in a blurry popover in Chromium on scaling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typical Blink engine issue, their hardware acceleration is good - sometimes - and really really bad in most cases. Gecko is buggy but at least consistent as they wrote the renderer themself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from the screenshots
/backport to next |
☑️ Resolves
floating-vue
usestranslate3d
(withtranslateZ
) to trigger GPU accelerationfilter: drop-shadow
filter: drop-shadow
requires previous layers of content on renderingbackdrop-filter
ormix-blend-mode
Replacing
filter: drop-shadow
with a simplebox-shadow
fixes the issue.translate3d
render a blurredPopperContent
view under odd dpr screen, like 125% Akryum/floating-vue#932🖼️ Screenshots
🏁 Checklist
next
requested with a Vue 3 upgrade