[Resolved]: Slots Order: Should order be deteremined by the slot tag, or by slotted tags

So I would have thought that the placement order of the slotted elements would be determined by the slot tags in the nested component.

<slot name="header">
<slot name="copy">

but it seems that the order of the slotted element is rendered based on the order they were on on the app-root component.
image

See scrimba here:

Ok. It seems that this is an issue on scrimba.
It works as expected if I copy paste it into my imba-rollup project.

Ah, scrimba is not rubbing The latest version. Will deploy latest version this weekend :slight_smile:

2 Likes