I have created a side bar which slides in and out when I click the hamburger icon in phone view:
The sidebar, however, would only slide in and out if I click the hamburger icon. I would very much like to create and animation effect which allows me to slide the sidebar out when I tap anywhere outside of the sidebar. Could somebody give me some pointers on how I could achieve the effect? Thank you very much!