ohif-viewer/platform
Joe Boccanfuso 1df4f843fe
fix(segmentation): Fixed the manual scrolling of the segments list and implemented automatic scrolling to the active segment. (#5510)
The height of the list container is now calculated based on a parent div instead of itself.
DataRow component now has a forward ref to allow for automatic scrolling.

Added better detection to the useDynamicMaxHeight hook for when to recalculate the max height using intersection observers.

The useEffect for scrolling a segment into view used to be excessively called to the point
where it was auto scrolling after the user manually scrolled. The auto scroll useEffect is
now dependent on the segment index changing which should only happen once per active segment change.
2025-10-21 11:58:23 -04:00
..
app chore(version): Update package versions [skip ci] 2025-10-20 17:12:13 +00:00
cli chore(version): Update package versions [skip ci] 2025-10-20 17:12:13 +00:00
core chore(version): Update package versions [skip ci] 2025-10-20 17:12:13 +00:00
docs chore(version): Update package versions [skip ci] 2025-10-20 17:12:13 +00:00
i18n chore(version): Update package versions [skip ci] 2025-10-20 17:12:13 +00:00
ui chore(version): Update package versions [skip ci] 2025-10-20 17:12:13 +00:00
ui-next fix(segmentation): Fixed the manual scrolling of the segments list and implemented automatic scrolling to the active segment. (#5510) 2025-10-21 11:58:23 -04:00