mirror of
https://github.com/immich-app/immich.git
synced 2026-06-12 11:01:45 -07:00
fix(web): focus on scrollable element on load (#29004)
fix(web): focus on scrollable element on load
This commit is contained in:
@@ -261,6 +261,7 @@
|
||||
if (!enableRouting) {
|
||||
invisible = false;
|
||||
}
|
||||
scrollableElement?.focus({ preventScroll: true });
|
||||
});
|
||||
|
||||
const scrollToSegmentPercentage = (segmentTop: number, segmentHeight: number, timelineMonthScrollPercent: number) => {
|
||||
|
||||
Reference in New Issue
Block a user