Design comparison
SolutionDesign
Solution retrospective
Hello there! I have always struggled with understanding how to capture/prevent events bubbling up and triggering when not required.
Here I got the chance to figure out how to:
- Click anywhere in the doc to close the social media popup
- When clicking inside the social media popup, do not close it (stop propagation)
Thank you for any advice
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord