-
Notifications
You must be signed in to change notification settings - Fork 620
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I am interested in helping provide a fix!
Yes
Which generators are impacted?
- All
- Angular
- HTML
- Preact
- Qwik
- React
- React-Native
- Solid
- Stencil
- Svelte
- Vue
- Web components
Reproduction case
Expected Behaviour
Multi-framework support for preventDefault()
Actual Behaviour
The docs recommend using event.preventDefault()
directly in event handler code. When doing so, the generated Qwik component uses preventDefault()
in a QRL-wrapped (ie async) function, which doesn't work
Additional Information
This example is taken directly from the docs:
https://mitosis.builder.io/docs/using-libraries/#focus-on-web-fundamentals
It seems to be the only mention of preventDefault()
anywhere in the docs
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working