LearnNewsExamplesServices
Frontmatter
id9494
titleGrid Multi-Body: Implement Direct Main-Thread Scroll Sync via MessageChannel
stateOpen
labels
epicaigrid
assigneestobiu
createdAtMar 16, 2026, 10:40 PM
updatedAtMar 17, 2026, 7:59 PM
githubUrlhttps://github.com/neomjs/neo/issues/9494
authortobiu
commentsCount0
parentIssue9486
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]

Grid Multi-Body: Implement Direct Main-Thread Scroll Sync via MessageChannel

Openepicaigrid
tobiu
tobiu commented on Mar 16, 2026, 10:40 PM

When SubGrids are split across different browser windows, routing high-frequency scroll events through the App Worker (Main A -> App Worker -> Main B) introduces unacceptable latency.

Requirements:

  1. MessageChannel Setup: Create a mechanism where a Main Thread Addon in Window A creates a MessageChannel.
  2. Port Delegation: Pass port2 of the channel through the App Worker to the corresponding Main Thread Addon in Window B.
  3. Direct Sync: Use the direct channel to synchronize vertical scrollTop events between the windows. A slight delay is acceptable given the physical separation of monitors.
tobiu added the epic label on Mar 16, 2026, 10:40 PM
tobiu added the ai label on Mar 16, 2026, 10:40 PM
tobiu added the grid label on Mar 16, 2026, 10:40 PM
tobiu cross-referenced by #9486 on Mar 16, 2026, 10:41 PM
tobiu added parent issue #9486 on Mar 16, 2026, 10:41 PM
tobiu assigned to @tobiu on Mar 17, 2026, 7:59 PM