fix: dicom tag browser row height on toggle (#4832)

This commit is contained in:
Pedro H. Köhler authored and GitHub committed 2025-03-06 17:09:11 -05:00
1 parent 9b6af66859
commit 5a7f7841b2
1 file changed
+3 -1
@@ -239,9 +239,11 @@ function DicomTagTable({ rows }: { rows: Row[] }) {
return internalRow; return internalRow;
}); });
setInternalRows(newInternalRows); setInternalRows(newInternalRows);
listRef?.current?.resetAfterIndex(0);
}; };
}, },
[internalRows] [internalRows, listRef]
); );
const getRowComponent = useCallback( const getRowComponent = useCallback(