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

Dropbox has blurry borders in Chromium browsers #299

Closed
brandlfp opened this issue Jan 15, 2024 · 2 comments
Closed

Dropbox has blurry borders in Chromium browsers #299

brandlfp opened this issue Jan 15, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@brandlfp
Copy link

brandlfp commented Jan 15, 2024

The dropbox <div class="vscomp-dropbox"> has blurry borders if the dropbox container <div id="vscomp-dropbox-container-1034" role="listbox" class="vscomp-dropbox-container pop-comp-wrapper position-bottom" data-from-left="774.59375" data-from-top="229.25" data-top="259.25" data-left="774.59375" style="z-index: 251; display: inline-flex; transform: translate3d(774.594px, 259.25px, 0px); max-width: 400px; transition-duration: 0ms; opacity: 1;"> has transform: translate3d with subpixel (decimal) values applied. This is due to a known issue in Chromium browsers.

image

The problem can be fixed by rounding the coordinates to the nearest integer: <div id="vscomp-dropbox-container-1034" role="listbox" class="vscomp-dropbox-container pop-comp-wrapper position-bottom" data-from-left="774.59375" data-from-top="229.25" data-top="259.25" data-left="774.59375" style="z-index: 251;display: inline-flex;transform: translate3d(775px, 259px, 0px);max-width: 400px;transition-duration: 0ms;opacity: 1;">

image

@gnbm
Copy link
Collaborator

gnbm commented Apr 16, 2024

@brandlfp I did some research and the issue is actually on a dependency that is included in the generated code which is the popover that depends on popper where the problem is.
I tried to fix this on this PR on popper but I'm struggling to have any feedback from @sa-si-dev since he's the owner and I have no permission to merge or create releases on this repo and the same on popover that would need to get its dependency updated to this new fixed version so, we could finally update it in Virtual select.
Any help from @sa-si-dev or anyone who knows him or has access to these 3 repos is highly appreciated.

@gnbm
Copy link
Collaborator

gnbm commented Apr 24, 2024

Fixed in release v1.0.44.

@gnbm gnbm closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants