Frontmatter
| id | 8146 |
| title | Enable ResizeObserver for Canvas and Blackboard auto-resize |
| state | Closed |
| labels | enhancementaicore |
| assignees | tobiu |
| createdAt | Dec 19, 2025, 5:33 PM |
| updatedAt | Dec 19, 2025, 5:49 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8146 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 19, 2025, 5:49 PM |
Enable
ResizeObserversupport forNeo.component.Canvasto allow it to react to size changes automatically.Currently,
AgentOS.view.Blackboard(which extendsCanvas) fails to update its offscreen canvas size when the layout changes (e.g., due to drag-and-drop operations inSortZone).Implementation plan:
monitorSize_config toNeo.component.Canvas.onDomResizeinCanvasto fire aresizeevent.AgentOS.view.Blackboardto enablemonitorSizeand listen forresizeevents to update the offscreen canvas dimensions.