Paper-dialog uses the core-overlay internally, but does not expose the
core-overlay property you want ('autoCloseDisabled'). There is already a
pull request in the pipeline for this
(https://github.com/Polymer/paper-dialog/pull/7), so you could just wait
for that to come through. If you wanted it now, the easiest way to get it
without modifying the paper-dialog source would be to extend paper-dialog
and set the property on its underlying core-overlay.
On Thursday, July 3, 2014 3:20:34 PM UTC+10, Anders Forsell wrote:
>
> I am trying to use the paper-dialog in a Polymer element as a way of
> displaying a modal selection window. The problem is if I click outside the
> dialog it will be hidden under the other content.
>
> Is it possible to make the paper-dialog modal so that it can only be
> closed by pressing one of its' buttons?
>
> Thanks,
>
> Anders
>
>
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/01b3ecf3-703d-456e-b701-a4b83b55ef4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.