From 7b0ddb6036ed31313b4cd03e06140a7732933559 Mon Sep 17 00:00:00 2001 From: Bircck <55695195+Bircck@users.noreply.github.com> Date: Thu, 10 Sep 2026 19:04:57 +0200 Subject: [PATCH] fix(website): finish loading on repeated table navigation --- Website/components/datamodelview/List.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Website/components/datamodelview/List.tsx b/Website/components/datamodelview/List.tsx index 37a77d5..bbc1cea 100644 --- a/Website/components/datamodelview/List.tsx +++ b/Website/components/datamodelview/List.tsx @@ -274,10 +274,13 @@ export const List = ({ setCurrentIndex, entityActiveTabs }: IListProps) => { requestAnimationFrame(() => { rowVirtualizer.scrollToIndex(index, { align: 'start' }); + // Re-selecting an aligned table does not emit a scroll event. + // Finish navigation once the target is mounted and aligned. + dispatch({ type: 'SET_LOADING_SECTION', payload: null }); }); }; requestAnimationFrame(tryFix); - }, [rowVirtualizer]); + }, [rowVirtualizer, dispatch]); return ( <>