When using event modifiers on a component it will always update unnecessarily (performance issue)
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
- Open the web developer console
- Focus on the input field
- Press keys
What is expected?
No console logs should be added as the Comp should not be updated.
What is actually happening?
Console.log messages are visible because on each keypress the Comp is updated.
System Info
No response
Any additional comments?
When @keydown
is used rather than @keydown.up
the Comp is not updated. It seems to be caused by using modifiers.