-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/portal
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
If you have ComponentPortal with provided ViewContainerRef NgForOf can rerender component outside CdkPortalOutlet.
Looks like this code is executed only once and after NgForOf dom manipulations there is nothing that can move ComponentPortalExample to expected position
Reproduction
Steps to reproduce:
- Wait until component outlet will render component
- Drag Item 1 down
- Drag Item 1 up
- ComponentPortalExample is rendered inside item list instead of inside component outlet
instead
Expected Behavior
ComponentPortalExample should stay inside CdkPortalOutlet
Actual Behavior
ComponentPortalExample is rendered inside item list instead of inside CdkPortalOutlet
Environment
wmorawski, TymekSzturc, mokosa, ArturMiszkowicz, rsinius and 3 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/portal