Frontmatter
| id | 9636 |
| title | Grid Multi-Body: Simplify GridDragScroll Scrollbar Hit Detection |
| state | Open |
| labels | enhancementaigrid |
| assignees | tobiu |
| createdAt | Apr 3, 2026, 1:02 AM |
| updatedAt | Apr 3, 2026, 1:03 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9636 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 9486 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
Grid Multi-Body: Simplify GridDragScroll Scrollbar Hit Detection
Openenhancementaigrid
With the reintroduction of the dedicated proxy
VerticalScrollbarcomponent, thegrid.Viewno longer utilizes native scrollbars within its direct bounding geometry (both vertical and horizontal proxies are now absolutely positioned overlays).The
GridDragScrollMain Thread addon currently uses complex bounding box mathematics (getBoundingClientRect(),event.offsetX,clientWidth) to guess if amousedownoriginated over a native scrollbar, to prevent panning the grid while dragging the scroll thumb.We can completely remove this localized mathematical logic. Since the scrollbars are now discrete proxy DOM nodes, we can rely directly on
event.targetboundaries, exactly as currently implemented in theneo-testingbranch.Task: Refactor
GridDragScroll.mjsscrollbar hit-detection logic to replace bounding box math with direct target node verification using the newly introduced vertical and horizontal proxy nodes.