Closed
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