I have a question on preventing some default actions. In my case, I have an overlay that is at first hidden but then appears along with social media icons when user clicks on the "share button".
This overlay then disappears along with the social icons when the user clicks on anywhere within the overlay. The problem is that I don't want the overlay to disappear when user clicks on the social icons. The overlay should not be hidden upon clicking on the social icon- only if it's clicked within any area of the overlay except for the icons.
Here's a link to the prototype- would appreciate any feedback on my code as well :)