Hey polymer-peeps.

I have a problem with getting styles to attach to content in a
paper-dialog. In particular, I want to do stuff like:

<paper-dialog>
  <div class="potato">stuff</div>
</paper-dialog>

The problem is that unlike pretty much every other paper element that does
projection (core-header-panel, core-drawer-panel, etc), the stuff that is
selected to go inside the paper dialog's presentation is deep in some
shadow dom and doesn't inherit class attributes from the light dom.

Is there some simple-overlook issue I'm missing here? Everything else was a
bit tricky, but not an issue really, but I just can't get paper-dialogs to
grab classes from outside. Between that and the strange tendency for
core-overlay to stick around sometimes when closing a paper-dialog, I'm
basically stuck with my own hand-rolled dialog popups for the time being.

e

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CABsi40LtSRqOAe5URxnM6_pY0nO1A%3DoJHTF1wWq7fc8fWH6EFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to