angular / angular/components

(Feature Request) MdDialog: Define a class for global overlay wrapper

Open
#7,471 11 comments 1 reaction 0 assignees View on GitHub
area: material/dialog feature P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

In MdDialog we can define in configs a class for overlay panel(`panelClass`) and backdrop(`backdropClass`), but we can not define a class for the wrapper.

The existent parameters are not enough to customize the dialog. Can we have a new parameter like `wrapperClass` for `.cdk-global-overlay-wrapper`?

Contributor guide

Open the contributing guide

Research direction

Start with the MdDialog configuration and the .cdk-global-overlay-wrapper named in the issue, then compare how panelClass and backdropClass are applied. Done means a wrapperClass option can be supplied and affects the global overlay wrapper, with coverage alongside the existing dialog configuration behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.