Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update overlay attach dynamic component overload #11671

Closed
damyanpetev opened this issue Jun 3, 2022 · 4 comments · Fixed by #11685
Closed

Update overlay attach dynamic component overload #11671

damyanpetev opened this issue Jun 3, 2022 · 4 comments · Fixed by #11685
Assignees
Labels
overlay refactoring triage: blocking version: 15.1.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@damyanpetev
Copy link
Member

Since the ComponentFactory is deprecated and the new way of creating dynamic components in Angular is done through the viewContainerRef I think we should update our Overlay's attach with an overload that accepts a viewContainerRef. The current overload:

public attach(component: Type<any>, settings?: OverlaySettings,
moduleRef?: Pick<NgModuleRef<any>, 'injector' | 'componentFactoryResolver'>): string;

Should be deprecated - the sooner the better, so we can have a transition period before the old API is dropped.

@github-actions
Copy link

github-actions bot commented Aug 7, 2022

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Aug 7, 2022
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Aug 8, 2022
@github-actions
Copy link

github-actions bot commented Oct 8, 2022

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Oct 8, 2022
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Oct 10, 2022
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Dec 10, 2022
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Dec 11, 2022
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Feb 10, 2023
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Feb 10, 2023
@ChronosSF ChronosSF added version: 15.1.x triage: blocking and removed version: 14.0.x 🛠️ status: in-development Issues and PRs with active development on them labels Mar 6, 2023
@ChronosSF ChronosSF added the ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. label Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
overlay refactoring triage: blocking version: 15.1.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants