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

This commit is contained in:
Pedro H. Köhler 2025-03-06 19:09:11 -03:00 committed by GitHub
parent 9b6af66859
commit 5a7f7841b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,9 +239,11 @@ function DicomTagTable({ rows }: { rows: Row[] }) {
return internalRow;
});
setInternalRows(newInternalRows);
listRef?.current?.resetAfterIndex(0);
};
},
[internalRows]
[internalRows, listRef]
);
const getRowComponent = useCallback(