Full-screen image viewer regression: cannot dismiss with Esc or backdrop click
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
After the recent change from the previous side-panel image preview to the new full-screen image viewer, opening and closing images has become unnecessarily cumbersome.
Currently:
Escdoes not close the image viewer.- Clicking the backdrop / empty area outside the image does not close it.
- The only way to return to the conversation is to locate and click the dedicated close control.
In Codex, screenshots and images are often opened briefly for inspection and then dismissed immediately to continue working. This makes the new behavior especially disruptive in a frequent workflow.
The broader regression from the previous side-panel image preview to the new full-screen viewer is already being discussed in #38858.
Even if the full-screen viewer is retained, it should still behave like a standard modal/lightbox and support quick dismissal via:
Esc- Backdrop click
- The existing close button
Related: #38858
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the full-screen image viewer entry point and reproduce opening an image, pressing Esc, and clicking the backdrop. Compare the current behavior with the dismissal requirements in this issue and the related discussion in #38858. Done means Esc, backdrop click, and the existing close button all dismiss the viewer.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100