[PR #25917] fix: improve asset editor exit handling #18399

Open
opened 2026-02-05 16:37:36 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/25917
Author: @michelheusschen
Created: 2/5/2026
Status: 🔄 Open

Base: mainHead: fix/web-improve-editor-exit


📝 Commits (1)

  • f7f865d fix: improve asset editor exit handling

📊 Changes

5 files changed (+54 additions, -4 deletions)

View changed files

web/src/lib/__mocks__/resize-observer.mock.ts (+8 -0)
📝 web/src/lib/components/asset-viewer/asset-viewer-nav-bar.spec.ts (+2 -4)
📝 web/src/lib/components/asset-viewer/asset-viewer.svelte (+1 -0)
web/src/lib/components/asset-viewer/editor/transform-tool/crop-area.spec.ts (+39 -0)
📝 web/src/lib/managers/edit/transform-manager.svelte.ts (+4 -0)

📄 Description

  • cursor no longer stays in resize mode after hovering the crop area and hitting Escape
  • using the browser back button in the editor no longer reopens the editor on later assets

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/25917 **Author:** [@michelheusschen](https://github.com/michelheusschen) **Created:** 2/5/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/web-improve-editor-exit` --- ### 📝 Commits (1) - [`f7f865d`](https://github.com/immich-app/immich/commit/f7f865df5041b736b8c669316814de22017819e2) fix: improve asset editor exit handling ### 📊 Changes **5 files changed** (+54 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `web/src/lib/__mocks__/resize-observer.mock.ts` (+8 -0) 📝 `web/src/lib/components/asset-viewer/asset-viewer-nav-bar.spec.ts` (+2 -4) 📝 `web/src/lib/components/asset-viewer/asset-viewer.svelte` (+1 -0) ➕ `web/src/lib/components/asset-viewer/editor/transform-tool/crop-area.spec.ts` (+39 -0) 📝 `web/src/lib/managers/edit/transform-manager.svelte.ts` (+4 -0) </details> ### 📄 Description - cursor no longer stays in resize mode after hovering the crop area and hitting `Escape` - using the browser back button in the editor no longer reopens the editor on later assets --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 16:37:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#18399