Problems with menu links

Good morning again community,

Yesterday I asked a couple of questions and in the end I decided to build my portfolio with frontity. (Bear in mind that I am a true newbie in programming and have not yet landed my first job in the tech world), I say this because my questions may be newbie.

When creating the menu I have encountered a problem. The problem is exactly the same as Frontity’s own website, and it is that when displaying the menu and clicking on any link, it works correctly, but of course the drop-down menu remains open and the only way to close it is by clicking again on the icon, I would like it to close when I click on any of the links.

How could I solve this? Since I can’t pass another onClick to the Link component, right?

Thanks!

There is a solution to this in mars-theme which checks the onClick and closes the menu

3 Likes