Resolve these two hacks:
const ampdoc = Services.ampdocServiceFor(win).getAmpDoc();
manager_ = new LightboxManager(ampdoc);
const ampdoc = Services.ampdocServiceFor(win).getAmpDoc();
return waitForBodyPromise(/**@type {Document}*/ ampdoc.getRootNode()).then(() => {
This issue seems to be in Pending Triage for awhile. @cathyxz Please triage this to an appropriate milestone.
Do we have any update regarding this issue?
Oh wow, there's interest! xD
Not presently because nobody has expressed interest in it prior to your comment. It's currently sitting in our backlog TODO list. Do you actually want/need this for anything?
LOL! Yes! I tried to implement the lightbox in different shadow amp and it wasn't working. Quick search in the issues and found this one 馃槂!
This should work in the next release for some shadow docs, but there will still be a couple of problems when used with a document loaded from <amp-next-page>.
Closing for now per #17677, amp-next-page issues are tracked separately.
Most helpful comment
Oh wow, there's interest! xD
Not presently because nobody has expressed interest in it prior to your comment. It's currently sitting in our backlog TODO list. Do you actually want/need this for anything?