diff --git a/packages/bbui/src/ActionMenu/ActionMenu.svelte b/packages/bbui/src/ActionMenu/ActionMenu.svelte index f64e303cd0..26da96c6e6 100644 --- a/packages/bbui/src/ActionMenu/ActionMenu.svelte +++ b/packages/bbui/src/ActionMenu/ActionMenu.svelte @@ -16,6 +16,11 @@ export const show = () => { dropdown.show() } + + const closeOnClickWrapper = (cb) => { + dropdown.hide() + cb() + }