Primary menu dropdown arrows gain circular button decoration in Neve 4.2.13
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 84/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- accessibility, frontend
Direzione di ricerca
Inizia da inc/views/nav_walker.php e dalle regole di navigazione in assets/scss/components/elements/navigation/_nav-menu.scss, quindi segui gli stili generici dei pulsanti in _buttons.scss e _extends.scss. Confronta Neve 4.2.12 e 4.2.13 con impostazioni personalizzate per il raggio e l’ombra dei pulsanti. Esegui e2e-tests/specs/a11y-ready/submenu-keyboard.spec.ts e verifica il comportamento su desktop, mobile-sidebar, RTL, focus e hover, senza decorazioni circolari del caret.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
After updating to Neve 4.2.13, dropdown-arrow controls in the primary navigation can appear inside unwanted circles. The controls are expected to retain their previous undecorated appearance, but global button radius and shadow styling is now visible around them. This creates a prominent header styling regression on affected sites.
Customer context
- Product / area: Neve theme, primary navigation dropdown controls
- Version: Reported immediately after the latest update; repository history identifies 4.2.13 as the relevant release boundary
- Environment: Windows 10 desktop; Firefox version unavailable
- Integration / third party: Not provided
- Reported error / symptom: Circular decoration around menu dropdown arrows
- Impact: Visible header/navigation regression; an Additional CSS workaround was provided
Reproduction notes
Reported workflow:
- Update Neve to the most recent release, identified from repository history as 4.2.13.
- View a primary navigation menu containing child items.
- Observe circular decoration around the dropdown-arrow controls.
Repository comparison confirms the relevant markup and style-cascade change, but the customer's exact radius/shadow settings were not provided and the visual result was not reproduced in a browser during triage. A 4.2.12 versus 4.2.13 comparison with customized global button radius/shadow settings is the most direct verification.
Diagnosis
Conclusion
Neve 4.2.13 changed desktop primary-navigation caret controls from div[role="button"] elements to native button elements. Neve's generic button styling applies configurable border radius and shadow to every native button, while the navigation-specific reset leaves those two properties intact. This directly permits the reported circular decoration and establishes a regression from 4.2.12.
Where this likely occurs
inc/views/nav_walker.php—Nav_Walker::add_caret()lines 111–140 renders primary-navigation child-item carets as native buttons withcaret-wrap; commitdd7ace85e484711bb32378a02b15cccf3d6a0c6eintroduced this markup in 4.2.13.assets/scss/components/elements/form-elements/_buttons.scss— genericbuttonrule lines 27–40 extends the primary button styles for all native buttons.assets/scss/components/main/_extends.scss—%nv-button-primarylines 10–29 suppliesborder-radius: var(--primarybtnborderradius, 3px)andbox-shadow: var(--primarybtnshadow, none).assets/scss/components/elements/navigation/_nav-menu.scss—.nav-ul button.caret-wraplines 128–149 resets background, border, padding, color, and font but does not reset border radius or shadow.- Tag comparison confirms 4.2.12 renders the desktop caret as a
div, while 4.2.13 renders it as abutton. The generic button stylesheet is unchanged across those tags.
Engineering notes
The affected control is limited by the inspected render path to primary-navigation items with children. The markup change was part of an accessibility improvement, so the visual behavior intersects with native button semantics, keyboard interaction, focus visibility, desktop/sidebar variants, and customizable global button styles. The customer's exact button radius and shadow values are unavailable, but the staff-provided CSS workaround targets the two properties left active by the source cascade. Open issue #4425 was read and covers broader menu accessibility requirements, not this styling regression.
Test coverage status
e2e-tests/specs/a11y-ready/submenu-keyboard.spec.ts lines 16–203 covers desktop submenu semantics and keyboard interaction, with mobile coverage at lines 206–247. No caret-specific visual, border-radius, or box-shadow assertion was found during inspection.
What to verify or explore next
- Reproduce with Neve 4.2.13 using a primary menu containing child items and non-default global button radius or shadow settings.
- Compare computed caret styles and screenshots between 4.2.12 and 4.2.13.
- Verify desktop, mobile-sidebar, RTL, keyboard-focus, and hover states.
- Run
npx playwright test e2e-tests/specs/a11y-ready/submenu-keyboard.spec.tsto confirm the interaction behavior alongside the visual check.
Unknowns / follow-up
The ticket does not provide the site's exact global button settings, CSS customizations, cache state, or a screenshot. Runtime reproduction was not performed during repository inspection.
Confidence
Confidence: 96/100
Neve 4.2.13 contains a verified release-boundary change that exposes primary-navigation caret controls to global button radius and shadow styles; the prior release used a non-button element, and no open issue was found for the resulting visual regression.
Source: HelpScout #3462897018
Generated by bug-report-triage (ID: bug-report-triage_6ab69a9fa67d16.12641093)
- Lingua principale
- PHP
- Stelle
- 307
- Fork
- 88
- Merge medio
- 1g 6h
- PR unite (30g)
- 10
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un 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 Codeinwp/neve
-
feature-request-triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
feature-request-triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
Elementor single-color endpoint returns global_not_found for Neve palette colorsForse già presa @girishpanchal30 l’ha presa 3 giorni fa. Apertabug-report bug-report-triage customer report regression
Codeinwp/neve#4633 · 12 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
customer report feature-request-triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
I maintainer di solito rispondono entro 1 giorno
-
customer report feature-request-triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Codeinwp/neve
Issue simili
-
domain/crm-after-sales Platform(Default) priority/high
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 2 giorni
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
Перевод устарел
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
component/code document/settings documents duplicate integration/wc/pages/cart integration/woocommerce mod* mod/b* mod/c* mod/d* mod/e* mod/i* product/pro status/needs-feedback
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
elementor/elementor#37475 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno