Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdDialog: is there any way to provide already existing content (domNode)? #7566

@vajnorcan

Description

@vajnorcan

versions 1.0.6, 1.1.0-rc1

I've been playing around the mdDialog that I'd like to use as a UI for the settings of the application. The content of the settings uses other Angular Material components (buttons, switches, selects), let's say up to 12 components.

It works reasonably well on the non IE browsers, but on IE it takes a really long time to render the template and inject it with all the scope values and to render the inner components. If the template is a simple text it's realtively quick.

I was wondering, is there any way I could provide the mdDialog already rendered content (with display: none; ) and keep the reference to this dialog somewhere (or I could place this content some elsewhere on hide)? Or does the mdDialog always constructs the inner content and destroys it?

Thanks

Metadata

Metadata

Assignees

Labels

P4: minorMinor issues. May not be fixed without community contributions.has: Pull RequestA PR has been created to address this issuetype: feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions