-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(runtime): revert slot relocation forwarding (#5222)
This commit reverts some logic in the runtime attempting to handle the use case of slots being slotted into other slots where the slot name changes along the way. The Stencil runtime cannot handle this use case elegantly because it relocates the node in the DOM rather than having references to nodes like the native Shadow DOM. For this use case, it is recommended to either use shadow encapsulation for all components involved, or to keep the slot name consistent through the component tree. Reverts 21b3bf0, 9adcfab, and part of 0106e0b Fixes #5215
- Loading branch information
1 parent
3b4deaa
commit a2e119d
Showing
12 changed files
with
0 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
test/karma/test-app/non-shadow-to-shadow-slot-relocation/drop-down-content.tsx
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
test/karma/test-app/non-shadow-to-shadow-slot-relocation/drop-down.tsx
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
test/karma/test-app/non-shadow-to-shadow-slot-relocation/index.html
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
test/karma/test-app/non-shadow-to-shadow-slot-relocation/karma.spec.ts
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
test/karma/test-app/non-shadow-to-shadow-slot-relocation/non-shadow-host.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.