LearnNewsExamplesServices
Frontmatter
id8547
titlefix: Portal App tree navigation scrolling behavior
stateClosed
labels
bugai
assigneestobiu
createdAtJan 11, 2026, 3:59 PM
updatedAtJan 11, 2026, 4:00 PM
githubUrlhttps://github.com/neomjs/neo/issues/8547
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 11, 2026, 4:00 PM

fix: Portal App tree navigation scrolling behavior

Closed v11.20.0 bugai
tobiu
tobiu commented on Jan 11, 2026, 3:59 PM

Ensure scrollToItem is only triggered when the top-level module (route) changes (e.g., initial load or switching from a different module), but not when navigating between items within the same module (e.g., tickets or releases).

tobiu assigned to @tobiu on Jan 11, 2026, 3:59 PM
tobiu added the bug label on Jan 11, 2026, 3:59 PM
tobiu added the ai label on Jan 11, 2026, 3:59 PM
tobiu
tobiu Jan 11, 2026, 4:00 PM

Input from Gemini 3 Pro:

✦ Implemented the fix in apps/portal/view/news/tickets/MainContainerController.mjs and apps/portal/view/news/release/MainContainerController.mjs.

The onRouteItem method now checks oldValue to conditionally skip scrollToItem if staying within the same module context.

tobiu referenced in commit c04982e - "fix: Prevent unnecessary tree scrolling on item navigation (#8547)" on Jan 11, 2026, 4:00 PM
tobiu closed this issue on Jan 11, 2026, 4:00 PM