[PR #3226] feat(mobile): stop asset grid rebuilds #9898

Closed
opened 2026-02-05 14:12:35 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/3226

State: closed
Merged: Yes


another try like #3129
This time, hero animations behave ok.

What is the issue? Each asset used the asset id for its Hero tag. The different tabs are active at the same time. When an asset is loaded on the main timeline and also rendered in the album view, a hero animation is performed because they have the same Hero tag! This PR fixes this by adding a different offset to the hero id depending on the currently active tab (or if outside of the tabs)

**Original Pull Request:** https://github.com/immich-app/immich/pull/3226 **State:** closed **Merged:** Yes --- another try like #3129 This time, hero animations behave ok. What is the issue? Each asset used the asset id for its Hero tag. The different tabs are active at the same time. When an asset is loaded on the main timeline and also rendered in the album view, a hero animation is performed because they have the same Hero tag! This PR fixes this by adding a different offset to the hero id depending on the currently active tab (or if outside of the tabs)
OVERLORD added the pull-request label 2026-02-05 14:12:35 +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#9898