What is the URL of the page with the issue?
https://go.dev/play
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15
Screenshot
Scenario 1

Scenario 2

What did you do?
- Visited URL mentioned above.
- Move cursor to line 10, either using mouse or keyboard.
- Enter the text
type A struct { (scenario 2 only).
- Press return on keyboard.
What did you expect to see?
Expected cursor to move to line 11.
What did you see instead?
No change in cursor position.
Extra notes
These are illustrative of the scenarios I can reliably reproduce the bug. There may or may not be more scenarios. Note that I was using Safari 15.1 on macOS 12. The issue didn't exist in Chrome. I didn't try other browsers.
What is the URL of the page with the issue?
https://go.dev/play
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15
Screenshot
Scenario 1
Scenario 2
What did you do?
type A struct {(scenario 2 only).What did you expect to see?
Expected cursor to move to line 11.
What did you see instead?
No change in cursor position.
Extra notes
These are illustrative of the scenarios I can reliably reproduce the bug. There may or may not be more scenarios. Note that I was using Safari 15.1 on macOS 12. The issue didn't exist in Chrome. I didn't try other browsers.