The menu can be closed when - the "menu" button is clicked - the option inside the slide menu is clicked - swipe right / left when the menu is opened How to make it closed when the area outside the slide menu is clicked?