ampproject / ampproject/amp.dev
Playground renders itself into preview frame when an `<amp-lightbox-gallery>` is exited
- Dominant language
- HTML
- Stars
- 600
- Forks
- 675
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report
### Current behavior
Playground renders itself into preview frame when an `` is exited
https://playground.amp.dev/?url=https%3A%2F%2Fpreview.amp.dev%2Fdocumentation%2Fexamples%2Fcomponents%2Famp-lightbox-gallery&format=websites
https://user-images.githubusercontent.com/254946/126695724-27dc8d82-3bb4-4e83-91e1-d38a7903f9f7.mov
### Expected behavior/code
The preview document should remain displayed.
### Reproduction procedure
Please provide the steps to reproduce the problem:
1. Click on any image in the preview pane. A lightbox opens.
2. Click on close (`x`) button at top-right of lightbox.
3. Playground is displayed, nested.
(Chrome 91 / macOS)
Contributor guide
Assessment
This issue has not been assessed yet.