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

Fixed Firefox select-test #1921

Merged
merged 2 commits into from
Mar 25, 2024
Merged

Fixed Firefox select-test #1921

merged 2 commits into from
Mar 25, 2024

Conversation

klaarseSICKAG
Copy link
Contributor

@klaarseSICKAG klaarseSICKAG commented Mar 13, 2024

Fixes the following issue: #1915

It appears that in the reset-example the select overlays the button, and therefor the button cannot be pressed with the clickOnElement function (which uses screen coordinates). I verified this behavior using a 200px top-margin on the button, which also solves this behavior. Nevertheless, just calling click() appears a bit cleaner to me.

I further investigated the other failing test (color-picker): "should emit sl-focus when rendered inline and focused" fails regularly.

  • the number of focus events is 2 or 3 instead of 1.
  • it is not really related to the color-picker. In the test I replaced it with the sl-checkbox. same result.
  • I narrowed it down to the carousel test, which is run before. if this test is skipped the false positives of the color-picker vanish.
  • the carousel / autoplay does smth. with the focus and blur events. there might be a connection.

Copy link

vercel bot commented Mar 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
shoelace ✅ Ready (Inspect) Visit Preview Mar 13, 2024 1:54pm

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

Successfully merging this pull request may close these issues.

2 participants