You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just execute the JSfiddle. You'll notice the scoped-slot isn't being rendered.
What is expected?
For the scoped-slot to be rendered.
What is actually happening?
The scoped-slot is not in this.$scopedSlots and not being rendered.
The minimal reproduction is a little unpractical because who would unnecessarily nest content in an attribute-less template tag. This JSfiddle is more reflective of the real use-case we're dealing with: https://jsfiddle.net/hirokiosame/38nzxq6c/
The text was updated successfully, but these errors were encountered:
Not sure if this is the same issue, but adding two elements with slot-scope in the default slot also causes the first one to be ignored: https://codepen.io/binary-koan/pen/BPyyKW
It wouldn't surprise me to learn that this is intentional, but it was odd to have <parent><child /><child /></parent> work, but stop working when changed to <parent><child slot-scope /><child slot-scope /></parent> with no warning message.
Version
2.5.16
Reproduction link
https://jsfiddle.net/hirokiosame/38nzxq6c/2/
Steps to reproduce
Just execute the JSfiddle. You'll notice the scoped-slot isn't being rendered.
What is expected?
For the scoped-slot to be rendered.
What is actually happening?
The scoped-slot is not in
this.$scopedSlots
and not being rendered.The minimal reproduction is a little unpractical because who would unnecessarily nest content in an attribute-less
template
tag. This JSfiddle is more reflective of the real use-case we're dealing with: https://jsfiddle.net/hirokiosame/38nzxq6c/The text was updated successfully, but these errors were encountered: