mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 15:38:24 -08:00
fix: deep link to last asset (#23920)
This commit is contained in:
@@ -140,7 +140,7 @@ export class DayGroup {
|
||||
}
|
||||
|
||||
layout(options: CommonLayoutOptions, noDefer: boolean) {
|
||||
if (!noDefer && !this.monthGroup.intersecting) {
|
||||
if (!noDefer && !this.monthGroup.intersecting && !this.monthGroup.timelineManager.isScrollingOnLoad) {
|
||||
this.#deferredLayout = true;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,7 @@ export class TimelineManager extends VirtualScrollManager {
|
||||
});
|
||||
|
||||
isInitialized = $state(false);
|
||||
isScrollingOnLoad = false;
|
||||
months: MonthGroup[] = $state([]);
|
||||
albumAssets: Set<string> = new SvelteSet();
|
||||
scrubberMonths: ScrubberMonth[] = $state([]);
|
||||
|
||||
Reference in New Issue
Block a user