Design comparison
SolutionDesign
Solution retrospective
Hey. I have question to you. I tried make a feature so when i click outside of modal or menu - overlay and menu/modal dissapearing. Problem is that when i click overlay and menu is open hamburger close btn is not changing. I tried to give overlay a function so it will again change to normal hamburger btn but i still need to click it 2 times before it works. So i changed this and now i have only one hamburger btn state but working overlay feature but i want it work properly as intended.
How to get effect so when i click overlay my menu button also change and is not bugged? Any ideas?
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord