ampproject / ampproject/amp.dev

Refreshing playground page can sometimes break the editor pane (editor goes blank)

Open
#6,230 0 comments 0 reactions 0 assignees View on GitHub
Status: Pending Triage Type: Bug
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug Report

### Current behavior

The playground's editor pane can become completely blank by refreshing the playground page.

So far I was able to reproduce this in two ways:

### Repro 1

1. Open a new tab and navigate to https://playground.amp.dev
2. Refresh the page

### Repro 2

1. Open a new tab and navigate to https://playground.amp.dev
2. Paste in a playground share link into the browser address bar copied from the "Share" button.

In both cases, I can observe that the editor goes blank. However, there's still a very small-width column on the right edge of the editor that's still visible, especially when you vertically scroll in the editor.

See screenshot:
![39b6S3bpJ3Seuvn](https://user-images.githubusercontent.com/743034/142741168-cb3c32f0-e7c3-4f41-b74b-4c3f0c585ae7.png)

- What browser are you using?

Chrome

- What O/S are you using?

Mac OS

/to @sebastianbenz

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.