yishak abrham• 2,150
@yishak621
Posted
I did the same too it collapse when the user is redirected to another link
0
Submitted
@FelipeCastroDEV
Hi everyone, hope you like my solution =)
i created two dropdowns menu system, a dropdown menu using css hover for desktop users, and a dropdown with mouse click event for mobile users using Javascript, implemented a function to close the mobile menu when the user click on any menu link.
in mobile version the dropdown is collapses when the user clicks outside the dropdown menu element.
what's your opinion about my solution ? any feedback ?
@yishak621
Posted
I did the same too it collapse when the user is redirected to another link
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