I have a ClickAwayListener on my main-page and menu button on header to open and close the slide(My menu) this is my code for menu-page
Only on small screen the ClickAway