mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
feat(web): persist scroll position on navigation back to album (#11388)
Co-authored-by: Calum Dingwall <caburum@users.noreply.github.com> Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
51de108d43
commit
d277096d58
8 changed files with 234 additions and 7 deletions
web/src/lib
|
@ -84,6 +84,11 @@ export enum QueryParameter {
|
|||
PATH = 'path',
|
||||
}
|
||||
|
||||
export enum SessionStorageKey {
|
||||
INFINITE_SCROLL_PAGE = 'infiniteScrollPage',
|
||||
SCROLL_POSITION = 'scrollPosition',
|
||||
}
|
||||
|
||||
export enum OpenSettingQueryParameterValue {
|
||||
OAUTH = 'oauth',
|
||||
JOB = 'job',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue