Can a navbar mobile menu be closed by an interaction?

I have added Weglot translation links to my navbar mobile menu. When pressed, they execute the translation as expected, without reloading the page. BUT I would also like them to close the mobile after release. Is this possible to achieve within the navbar component?

Sorry, can’t share link due to non-disclosure agreement.

Hi @Alexander_Fjelldal!

As far as I know, it’s possible to trigger navbar button click after switching languages, e.g. the browser will automatically click/tap on the button after a user switches a language. However, I can’t recall where the custom code for this solution is so I suggest you do some search in this forum.