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:
- MessageChannel Setup: Create a mechanism where a Main Thread Addon in Window A creates a
MessageChannel.
- Port Delegation: Pass
port2 of the channel through the App Worker to the corresponding Main Thread Addon in Window B.
- 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.
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:
MessageChannel.port2of the channel through the App Worker to the corresponding Main Thread Addon in Window B.scrollTopevents between the windows. A slight delay is acceptable given the physical separation of monitors.