John Cowen 24b87b81d5 ui: Fix sticky action popover menus (#8326)
* ui Close more-popover-menus in KV and nspaces on confirmation

* ui: Close more-popovermenus on confirmation on composite-rows
2020-07-17 13:29:41 +00:00

17 lines
553 B
Handlebars

<div class="more-popover-menu">
<PopoverMenu @expanded={{expanded}} @onchange={{action onchange}} @keyboardAccess={{false}} as |api|>
<BlockSlot @name="trigger">
More
</BlockSlot>
<BlockSlot @name="menu" as |confirm send keypressClick clickTrigger|>
{{yield (component 'more-popover-menu/action' menu=(hash
addSubmenu=api.addSubmenu
removeSubmenu=api.removeSubmenu
confirm=confirm
keypressClick=keypressClick
clickTrigger=clickTrigger
))}}
</BlockSlot>
</PopoverMenu>
</div>