Mobile navigation trigger is dropped on single-capture routes
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by tracing how capture dialog trigger markers are preserved when a route is emitted as a single capture, then compare that path with the device variant route that retains its trigger. Check the same behavior when the header is extracted into a shared template part and add the requested contract test. Done means the phone width shows a working menu trigger, desktop hides it, and the captured menu remains accessible.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
On single-capture routes (one document per route), the mobile navigation trigger (hamburger button that opens the captured menu dialog) is dropped. The captured documents carry the dialog trigger markers (data-blocks-engine-capture-dialog-trigger, 5 per document), but the emitted pages, templates and parts contain none. At phone width the imported header shows only the site title, so the navigation can't be reached.
Observed
- Desktop: the trigger is emitted as a 16x16 button that should be hidden; the source hides it (
display:none). - Phone (390px): the trigger collapses to 0x0, while the source shows a 40x40 visible button.
- A route that captured separate device variants keeps its trigger. The front page lost it once it became reflow-only (4 emitted triggers before, 2 after).
- The emitted navigation uses
overlayMenu:"never", so core's responsive overlay doesn't replace it either.
Acceptance
- On a reflow-only/single-capture route, the phone-width header shows a visible menu trigger that opens the captured menu (or a core navigation overlay with equivalent items), and desktop hides it as the source does.
- This also holds when the header is extracted into a shared template part.
- Contract test with a single-capture header that hides the trigger at desktop and shows it under a max-width media query.
AI assistance: filed by Claude (Claude Code via Roadie) while investigating a site-builder capture import; findings verified against a private local fixture and rendered output.
- Lingua principale
- PHP
- Stelle
- 25
- Fork
- 3
- Merge medio
- 2h 29m
- PR unite (30g)
- 931
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Automattic/blocks-engine
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Automattic/blocks-engine#4874 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
Automattic/blocks-engine#4836 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Automattic/blocks-engine#775 ·
I maintainer di solito rispondono entro 1 giorno
-
Shared-chrome CSS factoring merges device-document stylesheets, so phones render the desktop widthAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Automattic/blocks-engine#4894 ·
I maintainer di solito rispondono entro 1 giorno
-
non core block: layout-shell@a[data-testid][href][target]Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 46/100
Automattic/blocks-engine#4888 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Automattic/blocks-engine
Issue simili
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
feature-request-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Codeinwp/wp-menu-icons#360 ·
-
[Type] Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 5 giorni
-
Visual COBOL: missing 11.0 and 12.0, and 9.0 date differs from Rocket Software's lifecycle pageAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
endoflife-date/endoflife.date#11561 ·
I maintainer di solito rispondono entro 1 giorno
-
area:php-extension priority:low type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
crazy-goat/go-mesi#623 ·
I maintainer di solito rispondono entro 1 giorno