mergeProps does not merge correctly event listeners #5296
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
🐞 bug
Something isn't working
Version
3.2.27
Reproduction link
sfc.vuejs.org
Steps to reproduce
What is expected?
Event listeners to be merged correctly
What is actually happening?
Vue throws
TypeError: fn is not a function
. This happens because, when we try to merge two objects with the same event listeners but one of the objects contains an event with an undefined value, then the result will be an array with an undefined value.The text was updated successfully, but these errors were encountered: