open-consul/ui-v2/app/components/more-popover-menu/index.hbs
John Cowen b5a40473ab
ui: Rework popover-menu auto closing (#8340)
* ui: Move more menu subcomponents deeper down into popovermenu

* ui: Simplify aria-menu component+remove auto menu close on route change

* Add ember-string-fns

* Use new PopoverMenu sub components and fix up tests

* Fix up wrong closing let

* Remove dcs from the service show page now we have it in the navigation
2020-08-10 09:26:02 +01:00

11 lines
313 B
Handlebars

<div class="more-popover-menu">
<PopoverMenu @expanded={{expanded}} @onchange={{action onchange}} @keyboardAccess={{false}} as |components api|>
<BlockSlot @name="trigger">
More
</BlockSlot>
<BlockSlot @name="menu">
{{yield components.MenuItem}}
</BlockSlot>
</PopoverMenu>
</div>