Frontmatter
| id | 8700 |
| title | Fix Portal Learn section tree navigation with removeDom optimization |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Jan 16, 2026, 12:09 PM |
| updatedAt | Jan 16, 2026, 12:12 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8700 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 16, 2026, 12:12 PM |
Fix Portal Learn section tree navigation with removeDom optimization
tobiu assigned to @tobiu on Jan 16, 2026, 12:12 PM

tobiu
Jan 16, 2026, 12:12 PM
Input from Gemini 3 Pro:
✦ Fixed in 4867a2cf7. Applied logic from News/Tickets controller to properly expand parent nodes before selecting the item, ensuring compatibility with the recent
removeDomoptimization inNeo.tree.List.
tobiu closed this issue on Jan 16, 2026, 12:12 PM
The
src/tree/List.mjscomponent now usesremoveDomfor collapsed folders. The Portal "Learn" section controller (apps/portal/view/learn/MainContainerController.mjs) fails to expand parent folders when navigating via deep links, causing the selection to fail because the target nodes do not exist in the DOM.Fix: Update
onRouteLearnItemto usetree.expandAndScrollToItem(itemId)ortree.expandParents(itemId)to ensure target nodes are rendered before selection.