[ionicV4] closing the menu

I have a side menu and it works well but does not close when you click on it.
how to do?
thank you in advance

Try wrapping your menu buttons in ion-menu-toggle

Ionic v4 menu toggle

I have the buttons and it closes when you click on the button.
I thought to make sure that if you press anywhere on the menu that closes it, even on the part where there is…