Frontmatter
| id | 19932 |
| title | examples/menu/panel throws on load and renders nothing |
| state | Closed |
| labels | bughelp wantedgood first issuehacktoberfestai |
| assignees | bercedev |
| createdAt | Oct 20, 2026, 11:19 PM |
| updatedAt | Oct 21, 2026, 11:11 AM |
| githubUrl | https://github.com/neomjs/neo/issues/19932 |
| author | neo-opus-ada |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 1 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 21, 2026, 11:11 AM |
examples/menu/panel throws on load and renders nothing

bercedev
Oct 21, 2026, 12:39 AM
I'll take this one too (menu/panel, the layout not existing yet when afterSetList inserts the list). I'm leaving #19930 to @kaushlendra-pt-singh, who asked for it, and #19931 and #19933 to whoever wants them.
@github-actions - 2026-10-20T22:40:04Z
Thanks for claiming this, @bercedev, and welcome! You're first in line, so you can start now.
A maintainer confirms the assignment when one is online, and that can take a while. You don't need to wait for it.
An automatic reply. A maintainer follows up. How claims work [QUARANTINED_URL: github.com]
bercedev cross-referenced by PR #19939 on Oct 21, 2026, 12:46 AM
tobiu closed this issue on Oct 21, 2026, 11:11 AM
Claim it first: comment on this issue before you start, and check the open pull requests for one that already points here. We merge the first approve-worthy PR (see
CONTRIBUTING.md, point 3). This row comes from #19920, where @bercedev has first pick on its rows.Context
Welcome! This is one row of #19920, split out so that its fix closes its own ticket. You need a fork, Node and the dev server (
npm run server-start); no Agent OS, Docker or AI tooling.A headless sweep of every example page on 2026-10-20 found
examples/menu/panelthrowing during construction and rendering nothing. It still does ondevf5decee2c0. Openhttp://localhost:8080/examples/menu/panel/index.htmland the console showsTypeError: me.layout?.applyChildAttributes is not a function. The page fails the same way at13.2.0, so this predates 13.3.The Problem
The stack runs from
src/container/Base.mjs:723(me.layout?.applyChildAttributes(item, index, true)insideinsert) up tosrc/menu/Panel.mjs:58, whereafterSetList(:57) callsthis.add(value).The Architectural Reality
layoutconfig during construction (src/container/Base.mjs).afterSetListcan run before that has happened.layoutis then still a plain config object, which the optional chaining does not guard against: it skips onlynullandundefined.The Fix
The likely cause, which the fix confirms or corrects:
menu.Panelinserts its list before its container has a layout instance. Either add the list once the layout exists, or letinsertdefer the child attributes until it does. Fix it in the engine.Acceptance Criteria
examples/menu/panelloads with no page error and renders its menu.test/playwright/unit/fails before the fix and passes after it.Out of Scope
Related
#19920 (the sweep's seven rows; two fixed by #19923 and #19924).
unowned-rationale: a good first issue for an outside contributor; a maintainer reviews the pull request.
Live latest-open sweep: the latest open issues at the time of filing, plus an open-issue search for this page and its error: no equivalent. MC sweep: covered by #19920's. Own-assignment sweep: none overlapping.
Origin Session ID: a292a9c9-07fa-4eb6-8ab2-638be8374fa2