LearnNewsExamplesServices
Frontmatter
id8146
titleEnable ResizeObserver for Canvas and Blackboard auto-resize
stateClosed
labels
enhancementaicore
assigneestobiu
createdAtDec 19, 2025, 5:33 PM
updatedAtDec 19, 2025, 5:49 PM
githubUrlhttps://github.com/neomjs/neo/issues/8146
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 19, 2025, 5:49 PM

Enable ResizeObserver for Canvas and Blackboard auto-resize

Closed v11.17.0 enhancementaicore
tobiu
tobiu commented on Dec 19, 2025, 5:33 PM

Enable ResizeObserver support for Neo.component.Canvas to allow it to react to size changes automatically.

Currently, AgentOS.view.Blackboard (which extends Canvas) fails to update its offscreen canvas size when the layout changes (e.g., due to drag-and-drop operations in SortZone).

Implementation plan:

  1. Add monitorSize_ config to Neo.component.Canvas.
  2. Implement onDomResize in Canvas to fire a resize event.
  3. Update AgentOS.view.Blackboard to enable monitorSize and listen for resize events to update the offscreen canvas dimensions.
tobiu added the enhancement label on Dec 19, 2025, 5:33 PM
tobiu added the ai label on Dec 19, 2025, 5:33 PM
tobiu added the core label on Dec 19, 2025, 5:33 PM
tobiu assigned to @tobiu on Dec 19, 2025, 5:34 PM
tobiu referenced in commit 8582a71 - "Enable ResizeObserver for Canvas and Blackboard auto-resize #8146" on Dec 19, 2025, 5:47 PM
tobiu referenced in commit 49eb04a - "#8146 AgentOS.view.Blackboard: removed the monitorSize config (true is now the default value)" on Dec 19, 2025, 5:49 PM
tobiu closed this issue on Dec 19, 2025, 5:49 PM