-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Regression from 13.6.2 to 13.7.0: clicking a checkbox no longer fires a change
event
#1397
Labels
bug
Something isn't working
Comments
After a bit more testing; it seems the tooling I'm using does dispatch a |
@capricorn86 👆🏼 |
capricorn86
added a commit
that referenced
this issue
May 13, 2024
…nd HTMLLabelElement should check for if a dispatched click event is of type MouseEvent and not PointerEvent which the check previously checked for
capricorn86
added a commit
that referenced
this issue
May 13, 2024
…o-1370-clicking-a-checkbox-no-longer-fires-a-change-event fix: [#1397] HTMLAnchorElement, HTMLButtonElement, HTMLInputElement a…
Thank you for reporting @cyyynthia and @dbritto-dev! 🙂 There is a fix in now: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When triggering a click event on an
HTMLInputElement
, thechange
event is no longer fired in version 13.7.0 and up. Seems to affect all versions up to latest.To Reproduce
Steps to reproduce the behavior:
change
event.dispatchEvent(new MouseEvent('click'))
Expected behavior
The
click
andchange
events should both be fired.Device:
The text was updated successfully, but these errors were encountered: