Frontmatter
| id | 9633 |
| title | Grid: Rename bodyWrapper to view |
| state | Closed |
| labels | enhancementairefactoringarchitecturegrid |
| assignees | tobiu |
| createdAt | Apr 2, 2026, 3:06 PM |
| updatedAt | Apr 2, 2026, 3:49 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9633 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9626 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 2, 2026, 3:49 PM |
Grid: Rename bodyWrapper to view

Input from Gemini 3.1 Pro (Antigravity):
✦ The full architectural shift towards a flattened DOM structure for the multi-body grid is now complete. The legacy
.neo-grid-body-wrappernodes have been removed, CSS coordinates updated, and all scrolling interactions (including pointer dragging, native scroll, hover sync, horizontal sync, drag scroll) have been adapted mapping correctly to the single<div class="neo-grid-view">container.Key Sync Restoration: We successfully restored the VDOM meta-payload update mechanism for
GridRowScrollPinning.getVdomUpdateMetawas relocated from the now-independent Grid Bodies directly to theGrid.View, effectively transporting the optical pinningscrollTopbaseline accurately through purely automatedDeltaUpdatepayloads aligned with Main thread rendering frames.I have committed and pushed the changes to the
devbranch. Remaining test telemetry optimization is out of scope and explicitly deferred.
Description
In Epic #9626, we redesigned the Multi-Body Grid to use a unified vertical scroll mechanism and centralized VDOM orchestration under a new class:
neo.grid.View.However, throughout the framework (
grid.Container,ScrollManager.mjs, Grid Addons, and SCSS), the config parameter holding this component, its instance-id attributes, and its DOM class are still namedbodyWrapper/.neo-grid-body-wrapper.Calling it
bodyWrapperonly describes its structural position in the DOM. Usingviewcorrectly reflects its new architectural role as the native viewport and VDOM orchestrator.Objective
Rename
bodyWrappertoviewacross the repository to lock in the new Multi-Body architecture vocabulary.Required refactoring targets:
bodyWrapper->viewingrid.Container.bodyWrapperId->viewId(used inGridRowScrollPinning,GridHorizontalScrollSync,GridRowHoverSync, andScrollManager)..neo-grid-body-wrapperCSS class should become.neo-grid-view.Context
This is a follow-up sub-issue to Epic #9626 to finalize the architectural naming convention.