-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
Description
Vue version
3.3.12
Link to minimal reproduction
Steps to reproduce
Use an event modifier (like .prevent on a click event that has an undefined handler - for example @click.prevent="undefined"
While that may seem silly, something like @click.prevent="myModalRef?.open()"
is totally reasonable and can result in the same thing...
What is expected?
no crash. Probably @click.prevent should still prevent default behaviour...
What is actually happening?
page crashes, with error Cannot read properties of undefined (reading '_withMods')
System Info
No response
Any additional comments?
PS - the new issue wizard thing broke.. I got the "Issue Preview" screen, but then it just kept kicking me back to the native "new issue" button on github.