LearnNewsExamplesServices
Frontmatter
id9612
titleGrid Multi-Body: Scrollbar Refactoring and Vertical Restoration
stateClosed
labels
enhancementaigrid
assigneestobiu
createdAtMar 31, 2026, 4:25 PM
updatedAtMar 31, 2026, 4:52 PM
githubUrlhttps://github.com/neomjs/neo/issues/9612
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 31, 2026, 4:52 PM

Grid Multi-Body: Scrollbar Refactoring and Vertical Restoration

Closedenhancementaigrid
tobiu
tobiu commented on Mar 31, 2026, 4:25 PM

As part of the Multi-Body Epic (#9486), this task focuses on refining the scrollbar architecture.

Requirements:

  1. Vertical Scrollbar Restoration:
    • Reapply the .neo-grid-body-wrapper CSS class to the bodyWrapper.
    • Constrain the bodyWrapper flex item (e.g., min-width: 0) to prevent it from growing intrinsically and hiding its native vertical scrollbar off-screen.
  2. HorizontalScrollbar Refactoring:
    • Rename HorizontalScroller.mjs to HorizontalScrollbar.mjs to align with the historical VerticalScrollbar.
    • Remove duplicated inline static styles (overflow-x: auto, overflow-y: hidden) from the JS config and VDOM.
    • Centralize these styles in a dedicated SCSS file for the component.
tobiu added the enhancement label on Mar 31, 2026, 4:25 PM
tobiu added the ai label on Mar 31, 2026, 4:25 PM
tobiu added the grid label on Mar 31, 2026, 4:25 PM
tobiu referenced in commit c5d758a - "feat: Grid Multi-Body architecture vertical scrollbar restoration and horizontal scrollbar styling (#9612)" on Mar 31, 2026, 4:51 PM
tobiu referenced in commit 13ddbd0 - "feat: Add GridHorizontalScrollSync addon for multi-body scroller architecture (#9612)" on Mar 31, 2026, 4:51 PM
tobiu assigned to @tobiu on Mar 31, 2026, 4:52 PM
tobiu
tobiu Mar 31, 2026, 4:52 PM

Completed the restructuring for the decoupled horizontal scrollbar architecture:

  • Renamed HorizontalScroller to HorizontalScrollbar and relocated its inline styles to a dedicated SCSS file.
  • Created GridHorizontalScrollSync addon to synchronize horizontal scrolling between the GridContainer components.
  • Verified that horizontal scrolling causes both body and header columns to remain 1:1 synchronized perfectly.
  • Restored the native vertical scrollbar pinned firmly inside the bodyWrapper against the right edge (via min-width: 0).

Closing as this fully satisfies the scrollbar decoupling requirements of the Grid Multi-Body architecture.

tobiu closed this issue on Mar 31, 2026, 4:52 PM