Thanks to visit codestin.com
Credit goes to github.com

Skip to content

USWDS - Bug: Extended header with megamenu missing class on buildΒ #5305

@mejiaj

Description

@mejiaj

Reported from ZenDesk ticket #9118 πŸ”’.

The Extended header with megamenu template that gets compiled via npm run html:build is compiling without errors but it's missing the class usa-megamenu class.

This causes the Extended header with megamenu code example on Site to be inaccurate.

Screenshot of issue on Site

image

Steps to reproduce

USWDS-Site

  1. Go to Extended header with megamenu code example on Site
  2. Confirm that the usa-nav__submenu is missing usa-megamenu class and required HTML children for layout.

USWDS

  1. Go to develop branch
  2. Run npm run build:html
  3. Go to html-templates directory
  4. Open usa-header--extended-megamenu.html
  5. Confirm missing usa-megamenu class and incorrect children to submenu.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions