-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Labels
✨ feature requestNew feature or requestNew feature or requesthas workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problem
Description
Version
3.2.19
Reproduction link
Steps to reproduce
Having a component that both declares emits because it itself emits an event (see Mid component in sandbox) and that also expects to pass down onMyEvent down as $attr fallthrough to a Child does not work.
The emits option effectively makes the onMyEvent attribute disappear from $attrs, and the chain is broken.
What is expected?
emits property should not remove onX from $attrs
What is actually happening?
It gets removed and breaks attribute event inheritance
Metadata
Metadata
Assignees
Labels
✨ feature requestNew feature or requestNew feature or requesthas workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problem