-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🐞 bugSomething isn't workingSomething isn't working
Description
Vue version
3.3.10
Link to minimal reproduction
https://stackblitz.com/edit/github-dpq7nx-azo6wj?file=src%2Fcomponents%2FHelloWorld.vue
Steps to reproduce
# Works
npm i vue@3.3.9
vitest --run
# Fail
npm i vue@3.3.10
vitest --run
What is expected?
The test should pass successfully.
Manual test
Clicking on the button to focus it
pressing y
key should call remove()
function which logs 'Called!' but it not happens.
Expected:
pressing x
-> logs 'Called!'
pressing y
-> logs 'Called!'
Actual:
pressing x
-> logs 'Called!' Twice
pressing y
-> does nothing.
What is actually happening?
It requires an element and its parent with an event listener to the same method.
System Info
No response
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't workingSomething isn't working