enhance-dev / enhance-dev/enhance

Renaming a slotted item's name client side does not cause it to move slotted position.

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
119
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When you rename a slotted item's `name` attribute on the client, it should move positions to the proper slot.

At least this is how Shadow DOM slots worked and I assumed the slot shim accounted for this

Reproduction: https://stackblitz.com/~/github.com/KonnorRogers/enhance-dynamic-slots?file=app/pages/index.html

Is this expected behavior? Or am I holding it wrong?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.