Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web): prevent scroll reset on search page #7385

Merged
merged 1 commit into from Feb 24, 2024

Conversation

michelheusschen
Copy link
Contributor

Loading new results causes GalleryViewer to unmount which resets the scroll position. Fixed by never unmounting the component.

Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 76310a1
Status: ✅  Deploy successful!
Preview URL: https://fae3f13f.immich.pages.dev
Branch Preview URL: https://fix-web-search-scroll.immich.pages.dev

View logs

@alextran1502 alextran1502 merged commit 9d3ed71 into main Feb 24, 2024
26 checks passed
@alextran1502 alextran1502 deleted the fix/web-search-scroll branch February 24, 2024 20:24
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.

None yet

2 participants