Skip to content

Conversation

@YarosMallorca
Copy link
Collaborator

Description

On v1.135 an issue appeared in the memory viewer that would cause the page to jump to the end when navigating using the arrow keys. This fixes it.

Video demo:

immich.memories.bug.mp4

@alextran1502
Copy link
Member

Which browser are you using?

@YarosMallorca
Copy link
Collaborator Author

YarosMallorca commented Jun 22, 2025

I'm using Google Chrome, I can only reproduce this on Windows, Version 137.0.7151.120 (Stable)

@bo0tzz bo0tzz added the preview label Jul 9, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jul 9, 2025

Deploying preview environment to https://pr-19400.preview.internal.immich.cloud/

@bo0tzz bo0tzz removed the preview label Jul 9, 2025
@YarosMallorca
Copy link
Collaborator Author

Can someone reproduce this issue to validate the fix, or should I dig into it more?
This issue started happening to me after v1.135

@YarosMallorca
Copy link
Collaborator Author

I can still reproduce this on v1.136.0!

Copy link
Member

@jrasm91 jrasm91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you leave these shortcuts there all the time and see if simply changing preventDefault: true for ArrowLeft and ArrowRight fixes the issue for you?

@YarosMallorca
Copy link
Collaborator Author

YarosMallorca commented Sep 10, 2025

@jrasm91 setting preventDefault: true does not fix the issue.

@jrasm91 jrasm91 force-pushed the fix/memory-arrow-nav branch from caaa09b to cf798ff Compare September 10, 2025 13:33
@jrasm91 jrasm91 merged commit 027dab1 into main Sep 10, 2025
56 checks passed
@jrasm91 jrasm91 deleted the fix/memory-arrow-nav branch September 10, 2025 13:47
jochbru pushed a commit to pixelunioneu/immich that referenced this pull request Sep 16, 2025
* fix(web): memory viewer jumps down on arrow keys

* fix pnpm lockfile

---------

Co-authored-by: Jason Rasmussen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants