Skip to content

Feature Request: Ability to attach a template as an overlay #9452

@baleeds

Description

@baleeds

I'm looking for an example of an IgxOverlay that isn't attaching a new class component, but is instead attaching an element in the view of the same component that calls attach (ideally a template ref, not element ref). It seems there is no good way to accomplish this, and there certainly are no viable examples in the documentation.

We have managed to achieve the desired result by using [hidden] when the overlay isn't shown, but this breaks the auto-positioning strategy because at the time of calculation, the element to be attached is still hidden.

Also, the minimum size in the overlay settings doesn't fix this issue. Perhaps there are problems with that setting.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions