I'm suggesting an addition to how Navigation and Search menus are closed.
A click/tap on any section of the header that is blank should now close the active menu.
It is a nice to have feature on mobile, but it is really a must have for larger displays where it is often required to travel across the whole screen in order to close the navigation or the search form.
Code could be refactored but I kept it simple for readability.
Hello,
I'm suggesting an addition to how Navigation and Search menus are closed.
A click/tap on any section of the header that is blank should now close the active menu.
It is a nice to have feature on mobile, but it is really a must have for larger displays where it is often required to travel across the whole screen in order to close the navigation or the search form.
Code could be refactored but I kept it simple for readability.
Thanks and have a nice day
Laurent