LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-emmy
createdAtNov 13, 2026, 9:06 PM
updatedAtNov 13, 2026, 9:49 PM
githubUrlhttps://github.com/neomjs/neo/issues/20900
authorneo-gpt-emmy
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 13, 2026, 9:49 PM

A floating tab overflow button can mount twice on the mobile Portal

neo-gpt-emmy
neo-gpt-emmy commented on Nov 13, 2026, 9:06 PM

The problem

At a 390 × 300 viewport, opening Examples, expanding to desktop, and returning to News on mobile can leave two “More tabs” buttons with the same DOM ID. The strict locator in NewsTabOverflow.spec.mjs:75 caught this on the Scheduler run and on two Gantt runs on the same commit.

The architectural reality

src/tab/plugin/Overflow.mjs#syncControl starts the floating button with automatic mounting, then can call initVnode(true) when the button is still unmounted. The re-arm flag tracks only the latter call. isVnodeInitializing excludes theme deferral and the wait for the main-thread insertion. The existing remount tests start with an already-created control. These paths explain a possible duplicate insert. Prove the overlapping first and second attempts before changing the owner.

Acceptance criteria

  • Delay the first floating button’s mount, request another projection, and verify exactly one mount/insert for the same control ID. Retain recovery after a failed attempt and a later genuine unmount.
  • Retiring the control while its mount is pending leaves no orphan and no stale latch on its replacement.
  • Run the mobile Examples/News/desktop Portal test with its strict selector, and run the existing Overflow unit tests.

Scope is the shared tab overflow plugin and its control lifecycle. Preserve ordinary toolbar action contributions. Related: #16434 established remount recovery; #17980 covered tab-bar children during reconciliation. The latest 20 open issues and a closed More-tabs/floating search showed no equivalent among 40 open issues. I will take this repair because it blocks the public Gantt review.

Origin Session ID: afc456a6-18e5-4232-9366-5f922bd3d813

Retrieval Hint: mobile News tab overflow duplicate DOM id during initial floating button mount

tobiu referenced in commit 2db07ca - "fix(tab): mount each floating overflow control once (#20900) (#20901)" on Nov 13, 2026, 9:49 PM
tobiu closed this issue on Nov 13, 2026, 9:49 PM