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

Checkboxes in package manager list are jumping #1377

Open
mnonnenmacher opened this issue Nov 6, 2024 · 3 comments
Open

Checkboxes in package manager list are jumping #1377

mnonnenmacher opened this issue Nov 6, 2024 · 3 comments
Labels
bug Something isn't working as expected. ui Issues related to the UI.

Comments

@mnonnenmacher
Copy link
Contributor

When clicking the checkboxes in the form to select the package managers for a run, their position is changing:

image

image

@mnonnenmacher mnonnenmacher added bug Something isn't working as expected. ui Issues related to the UI. labels Nov 6, 2024
@Etsija
Copy link
Contributor

Etsija commented Nov 11, 2024

@mnonnenmacher Spent half a working day inspecting DOM without catching any bugs in it. Then finally, I tested this in Firefox and Chrome, and whaddayaknow:

  1. Firefox

Screenshot from 2024-11-11 13-20-55

  1. Chrome

Screenshot from 2024-11-11 13-21-53

This seems to be one of those nasty browser specific bugs, so I'm running out of ideas as to fixing it. What I see is Firefox seems to vertically misalign the "button" and "input" components which together form a checkbox (for an unknown reason, as that's not how it's set in code), while Chrome correctly aligns them. This seems to be what's causing the jumping on Firefox.

Screenshot from 2024-11-11 13-35-10

@mnonnenmacher
Copy link
Contributor Author

@Etsija Thanks for looking into this, I should have mentioned the browser I'm using. What confuses me is that it works when the checkbox is clicked, so maybe some different layout is used if the caret on the right is rendered which avoids the bug?

@Etsija
Copy link
Contributor

Etsija commented Nov 11, 2024

Yes, there is a different component (Accordion) rendered on the right, when the checkbox is clicked, and the caret is part of that. However, as I said, I couldn't find anything wrong with the DOM here, and when it's working perfectly on Chrome, I am running out of options how to fix, if we want to keep this layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected. ui Issues related to the UI.
Projects
None yet
Development

No branches or pull requests

2 participants