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

Conversation

devversion
Copy link
Member

As the dialog inherits the controllers not at link time, the theming won't work.
Tried a few possibilities:

  • Walking through the DOM after show and re-theme the elements
  • Recompile the template after show

But the most elegant and performant solution is definitely watching for the controller change.

Fixes #5899

As the dialog inherits the controllers not at link time, the theming won't work.
Tried a few possibilities:
- Walking through the DOM after show and re-theme the elements
- Recompile the template after show

But the most elegant and performant solution is definitely watching for the controller change.

Fixes angular#5899
@ThomasBurleson
Copy link
Contributor

@devversion - please check if this demo still works with your changes: http://codepen.io/team/AngularMaterial/pen/NxZZjY (see Login dialog with custom theme)

@ThomasBurleson ThomasBurleson added this to the 1.0.7 milestone Feb 26, 2016
@devversion
Copy link
Member Author

@ThomasBurleson Yes work's still perfect.

@ThomasBurleson ThomasBurleson added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Mar 14, 2016
ThomasBurleson pushed a commit that referenced this pull request Mar 16, 2016
As the dialog inherits the controllers not at link time, the theming won't work.
Tried a few possibilities:
- Walking through the DOM after show and re-theme the elements
- Recompile the template after show

But the most elegant and performant solution is definitely watching for the controller change.

Fixes #5899

Closes #7154
ThomasBurleson pushed a commit that referenced this pull request Apr 1, 2016
As the dialog inherits the controllers not at link time, the theming won't work.
Tried a few possibilities:
- Walking through the DOM after show and re-theme the elements
- Recompile the template after show

But the most elegant and performant solution is definitely watching for the controller change.

Fixes #5899

Closes #7154
ThomasBurleson pushed a commit that referenced this pull request Apr 1, 2016
As the dialog inherits the controllers not at link time, the theming won't work.
Tried a few possibilities:
- Walking through the DOM after show and re-theme the elements
- Recompile the template after show

But the most elegant and performant solution is definitely watching for the controller change.

Fixes #5899

Closes #7154
@devversion devversion deleted the fix/theming-controller-watch branch April 19, 2016 19:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants