cody0-0 / jahresprojekt

1 stars 0 forks source link

[BUG] hamburger menu not closable #111

Closed cody0-0 closed 3 months ago

cody0-0 commented 3 months ago

Describe the bug

When the hamburger menu was activated and the user has clicked somewhere, the part of the menu that was not clicked (either search or menu-items) is hidden and the menu cannot be closed with the close button.

To Reproduce

Steps to reproduce the behavior:

  1. Have a window width of less than 945px
  2. open the hamburger menu
  3. click inside the search bar or somewhere below it (not a specific menu item)
  4. try to close the menu

Expected behavior

Close button should always close the menu.

Optional: Menu and search bar should always be active inside the hamburger menu