Concept Flow - Common action patterns (click-outside, tooltip)
Component mounts
Attach action (click-outside or tooltip)
User interacts
Click outside detected?
Yes→Run outside handler
Do nothing
Hover or focus on element?
Yes→Show tooltip
No
Hide tooltip
When the component mounts, it attaches actions like click-outside or tooltip. User interactions trigger checks: clicks outside run handlers, hovers show or hide tooltips.