That’s not going to work for an embedded app because the body element can be outside the app completely.
> On Feb 23, 2017, at 9:01 AM, Alex Harui <[email protected]> wrote: > > > > On 2/22/17, 9:49 AM, "Harbs" <[email protected]> wrote: > >> It looks like my change works. >> >> I just committed a change where instead of Dialog being added to >> Application, the Dialog HTML element is added to <body>. I needed to >> manually call addedToParent() to make sure the children render, and it >> all seems to work. :-) > > FWIW, there is an IPopUpHost we are trying to use in Basic/HTML and > UIUtils.findPopUpHost. It would be nice if MDL could use it or some > extension of it. > > HTH, > -Alex >
