Skip to content

Fix buggy header navigation bar when resizing from desktop view to mobile view #1055

@qiqicodes

Description

@qiqicodes

Overview

The header navigation bar is buggy when resizing from desktop view to mobile view.

The issues follow:

  • The header navigation bar drops down without clicking the navigation icon. (when resizing the page from desktop view to mobile view where the viewport width is < 768 px)
  • The header navigation bar disappear from page (when the navigation bar is closed by clicking the X icon, and the viewport resize to >= 768px)

Images below shows the bug flow:

the header navigation bar drops down with navigation icon when viewport's width is less than 768px.

Screen Shot 2021-02-14 at 9 23 32 PM

the header navigation bar remains open after one click on top right navigation icon, now close icon substitutes navigation icon.

Screen Shot 2021-02-14 at 9 23 54 PM

after one click on top right X icon

Screen Shot 2021-02-14 at 9 24 11 PM

header navigation disappears when resize back to >=768 px

Screen Shot 2021-02-14 at 9 24 29 PM

Resources

https://www.hackforla.org/about-us

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions