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.

Dialogs are not rendered with the correct theme #8719

@sdesmond

Description

@sdesmond

Actual behavior:

  • What is the issue?
    Dialogs are not respecting the current theme.
  • What is the expected behavior?
    I would expect dialogs to render according to the current or provided theme.

CodePen or Steps to reproduce the issue: *

  • CodePen Demo which shows your issue : http://codepen.io/anon/pen/gMPxbL?editors=1010
  • Details:
    Click on "Change Theme" and pop a dialog. They always show in the original default theme. I set .theme('defaultDark') on the confirm dialog and it's half right. The background is fine, but the text color is wrong.

Angular Versions: *

  • Angular Version: 1.5.5
  • Angular Material Version: 1.1.0-rc5

Additional Information:

  • Browser Type: Chrome
  • Browser Version: 51.0.2704.84 m
  • OS: Win
  • Stack Traces: Nope

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions