You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great! If there is a way to do this locally, that doesn't use global listeners, that would be ideal. I think refs let you do this but not sure.
All the dropdowns where this would apply:
context-menu when clicking on bullets
page menu
inline search
slash command menu
though not a dropdown, Athena could use this too
tangjeff0
changed the title
fix(listeners): close out of slash and inline menus when open and user clicks outside of the menu or block
fix(listeners): close dropdowns when user clicks outside of them
Aug 28, 2020
parent issues: #59 #97
demo: in Roam, slash menu and inline search have slightly different close conditions.
[[_]]
, where_
is your caretsteps:
MOUSEDOWN
listener inlisteners
blocks
, if that event is dispatched, resetsearch/type
tonil
. this should close either dropdownThe text was updated successfully, but these errors were encountered: