Frontmatter
| id | 8023 |
| title | Component.show() updateDepth fix |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Dec 4, 2025, 2:56 PM |
| updatedAt | Dec 4, 2025, 2:57 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8023 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 4, 2025, 2:57 PM |
Changed
src/component/Base.mjsshow()method to setupdateDepthto-1instead of2.Rationale: When re-showing bigger component trees, we need to ensure the full tree is updated, not just 1 child level. This was causing buggy behavior in the Colors app and the new AgentOS app, particularly when closing popup windows to re-integrate widgets.
Change:
// src/component/Base.mjs show() { // ... if (me.parentId !== 'document.body') { me.parent.updateDepth = -1; // Changed from 2 me.parent.update() } // ... }