An open API service indexing awesome lists of open source software.

https://github.com/lukasbombach/happy-dom-form-prevent-default-bug


https://github.com/lukasbombach/happy-dom-form-prevent-default-bug

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Min Rep. Example for preventing form submissions in happy-dom

Issue:

Using `preventDefault()` on a `` submit event should stop the from from navigating, but it does not in `happy-dom`.

See [form-submit-prevent-default-bug.spec.ts](/form-submit-prevent-default-bug.spec.ts) as a reproduction of the bug using `vitest`