LearnNewsExamplesServices
Frontmatter
id9312
titleDevIndex: Disable controls toggle button on learn route
stateClosed
labels
bugai
assigneestobiu
createdAtFeb 26, 2026, 5:04 PM
updatedAtFeb 26, 2026, 5:09 PM
githubUrlhttps://github.com/neomjs/neo/issues/9312
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 26, 2026, 5:09 PM

DevIndex: Disable controls toggle button on learn route

Closed v12.0.0 bugai
tobiu
tobiu commented on Feb 26, 2026, 5:04 PM

When starting DevIndex directly on the /learn route, clicking the 'hamburger' controls toggle button causes a JS error because the home view (where the controls and grid are) is not yet mounted due to lazy loading.

If navigating from home to learn, the click is pointless as the controls are not visible.

The solution is to toggle the `disabled` state of the `controls-toggle-button` inside the viewport's route handler methods (`onHomeRoute` and `onLearnRoute`).
tobiu assigned to @tobiu on Feb 26, 2026, 5:04 PM
tobiu added the bug label on Feb 26, 2026, 5:04 PM
tobiu added the ai label on Feb 26, 2026, 5:04 PM
tobiu referenced in commit 2b3e98a - "DevIndex: Disable controls toggle button on learn route (#9312)" on Feb 26, 2026, 5:07 PM
tobiu
tobiu Feb 26, 2026, 5:09 PM

Input from Gemini 3.1 Pro:

✦ The controls-toggle-button is now explicitly disabled on the /learn route and enabled on the /home route. This resolves the JS error caused by clicking it when the home view is not mounted. The change is committed and pushed to dev.

tobiu closed this issue on Feb 26, 2026, 5:09 PM