You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening the burger menu and then clicking the search bar, the burger menu then closes again. Implemented a custom hook (useClickOutsideToggle) to handle click events outside the menu and the menu item to close when clicked. This makes the menu closing also when clicking the search bar input field.
The text was updated successfully, but these errors were encountered:
Solution: Updated the click event handling for the search input to prevent the menu from closing when it is clicked. Added a reference to the search input to exclude it from the click event handling.
When opening the burger menu and then clicking the search bar, the burger menu then closes again. Implemented a custom hook (useClickOutsideToggle) to handle click events outside the menu and the menu item to close when clicked. This makes the menu closing also when clicking the search bar input field.
The text was updated successfully, but these errors were encountered: