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
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
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:75caught this on the Scheduler run and on two Gantt runs on the same commit.The architectural reality
src/tab/plugin/Overflow.mjs#syncControlstarts the floating button with automatic mounting, then can callinitVnode(true)when the button is still unmounted. The re-arm flag tracks only the latter call.isVnodeInitializingexcludes 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
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