Closed ceremcem closed 6 years ago
As a comment, using a simple <div><mycomp on-hello="there">This has a listener</mycomp></div>
will not work either.
I poked at it a bit, and it looks like there may be a bug with instance contexts immediately inside of a yield - it is finding the div
from the context above inside the something
rather than the mycomp
. I'm not 100% sure though, as I'll have to noodle out the meaning of the nested contexts in the yield, as those can be a bit confusing from the code side.
This is now fixed in 0.10.4. Thanks for the report!
Description:
I would expect both
mycomp
detect theirhello
handler:Which outputs:
Where the problem is that the one inside
something
component (inside dasheddiv
) can not detect itshello
handler.Versions affected:
0.10.3
Reproduction
Playground