fix: dicom tag browser row height on toggle (#4832)
This commit is contained in:
parent
9b6af66859
commit
5a7f7841b2
@ -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(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user