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.

feat(panel): Configuration ID for tracking #9356

@bradrich

Description

@bradrich

Actual Behavior:

  • What is the issue? * Currently, the mdPanel service assigns an ID, that is a simple string, to any panel that it creates. However, the service does nothing to track the panels with this ID. It is possible to open multiple panels by clicking on the same button over and over.
  • What is the expected behavior? The user should be able to provide an ID within the panel configuration. When an ID is provided, the created panel is added to a tracked panels object. Any subsequent requests made to create a panel with that ID should be ignored.

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: N/A
  • Details: N/A

Angular Versions: *

  • Angular Version: Latest
  • Angular Material Version: Latest

Additional Information:

  • Browser Type: * N/A
  • Browser Version: * N/A
  • OS: * N/A
  • Stack Traces: N/A

Ping @ErinCoughlan

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions