-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
13.7.0 regression broke .matches(':focus-visible') during focus events #1515
Comments
Thank you for reporting @EvHaus! 🙂 These selectors where actually not supported in v13.6.2. There was a bug which made the pseudo selector to match when it did not recognize the pseudo selector. I have added support for You can read more about the release here: |
Thanks for the super fast response!
That seems perfectly reasonable to me. |
Describe the bug
After upgrading from
happy-dom
13.6.2 to 13.7.0, we're seeing a problem with focus events. At first I thought maybe it was the same issue as #1409, but I tried with 13.10.2, 14.x.x and 15.0.0 and it is still broken there too.To Reproduce
Expected behavior
Focus events should set the element as matching the
:focus-visible
.The text was updated successfully, but these errors were encountered: