diff --git a/ui/app/components/popover-menu.js b/ui/app/components/popover-menu.js index 7e39e2e22..850a53d6b 100644 --- a/ui/app/components/popover-menu.js +++ b/ui/app/components/popover-menu.js @@ -15,6 +15,8 @@ const FOCUSABLE = [ export default Component.extend({ classnames: ['popover'], + triggerClass: '', + isOpen: false, dropdown: null, diff --git a/ui/app/templates/components/popover-menu.hbs b/ui/app/templates/components/popover-menu.hbs index f888328b2..8d7a80066 100644 --- a/ui/app/templates/components/popover-menu.hbs +++ b/ui/app/templates/components/popover-menu.hbs @@ -3,10 +3,10 @@ @onOpen={{action (queue (action (mut isOpen) true) (action capture))}} @onClose={{action (mut isOpen) false}} as |dd| > - + {{label}} {{x-icon "chevron-down" class="is-text"}} - {{yield}} + {{yield dd}}