-
Notifications
You must be signed in to change notification settings - Fork 250
Open
Labels
bugSomething isn't workingSomething isn't workingneeds investigationSomeone has to do research on thisSomeone has to do research on this
Description
Reproduction example
https://codesandbox.io/s/nervous-microservice-nmm3h7?file=/src/index.js
Prerequisites
- Use Firefox, not jsdom.
- Render a form with an onSubmit handler and a button inside the form such as
<button type="submit" />
. - Use
userEvent.click
to click the button in the form.
Expected behavior
Form's onSubmit handler should trigger.
Actual behavior
Form's onSubmit handler does not trigger.
User-event version
14.4.3
Environment
Firefox 106.0.2 (64-bit) Linux
Additional context
No response
ahuth, LaurentMox, uncleserb, kasperpeulen, shilman and 12 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds investigationSomeone has to do research on thisSomeone has to do research on this