Sign up to our newsletter
Don't worry, we won't give your email to any third parties
and you can unsubscribe at any time.
Oftentimes we need to detect when a click has happened outside of an element or when the focus has shifted outside of it. Some of the evident examples for this use case are fly-out menus, dropdowns, tooltips and popovers. Let’s...