Opening a full file in a Cloud session crashes the renderer with "Something went wrong!" and React error #185 (Maximum update depth exceeded)
Opening the full file in a Cloud session replaces the whole window with the "Something went wrong!" error screen, showing React error #185 (Maximum update depth exceeded).
Reproduction steps:
- In a Cloud session, open the full-file view of an untracked Markdown file.
- Observe the renderer.
- Separately, in a Cloud session with
README.mdmodified (+5 −0, one of three files in the Changes view), selectREADME.mdand click its Open full file toolbar button. The control is the button with aria-label "Open full file" under the README header.
Expected: the file opens in the file pane, or any error stays inside that pane.
Actual: the renderer is replaced by the global error screen, with the text "Something went wrong!", a "Hide Error" button, and "Minified React error #185; visit https://react.dev/errors/185". React's documentation lists error #185 as "Maximum update depth exceeded". This happened for the untracked Markdown file and for the tracked README.md in the same build.
Control, tracked README.md before the click:

Global React #185 error screen after the click:
