Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Mobile document's off-canvas menu drawer loses its menu list

Aperta
#2,886 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php, wordpress
Ambito
backend

Direzione di ricerca

Start with the materialization of the mobile document variant, where the div.mobile-menu drawer is built without its ul.menu list, and compare it with the desktop path that produces core/navigation. Reproduce with the 768px capture described in the issue and check the mobile drawer's block output for the 17 links. Done means the mobile drawer contains the same menu list as the captured page, and the duplicate-toggle behaviour in #2852 is not changed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

When a captured page ships a desktop and a mobile document, the mobile document's off-canvas menu drawer is materialized without its menu. The drawer wrapper and its search form survive, but the list (div.mobile-menu > div.animation-wrap > ul.menu > li > a, 17 links) becomes an empty group. The desktop document's copy of the same drawer keeps the list as core/navigation.

Evidence (captured site, 768px)

capture (served statically) import
drawer, desktop document 17 links 11 links (core/navigation)
drawer, mobile document (the copy laid out at ≤1024px) 17 links 0 links (empty wp-block-group)

The drawer is opacity:0 until its toggle opens it, so nothing looks different at rest. Once a toggle opens it, the mobile-width drawer is empty. The duplicate-toggle behaviour is tracked in #2852.

Expected

Each document variant's drawer keeps its own menu list, like other repeated variant content does.


AI disclosure: Claude (Anthropic) via Claude Code implemented this under Chris Huber's direction; operator-authorized direct fallback outside Homeboy.

Lingua principale
PHP
Stelle
22
Fork
2
Merge medio
8h 12m
PR unite (30g)
679

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Automattic/blocks-engine

Tutte le issue di Automattic/blocks-engine

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.