mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 23:37:43 +03:00
Fixed publish menu not closing on outside clicks in preview modal
refs https://github.com/TryGhost/Team/issues/459 - using <GhBasicDropdown> in place of <BasicDropdown> hooks into our dropdown service which has more comprehensive body click tracking
This commit is contained in:
parent
98073637d7
commit
f8de0f12de
@ -1,4 +1,4 @@
|
||||
<BasicDropdown @verticalPosition="below" @onOpen={{action "open"}} @onClose={{action "close"}} as |dd|>
|
||||
<GhBasicDropdown @verticalPosition="below" @onOpen={{action "open"}} @onClose={{action "close"}} as |dd|>
|
||||
<dd.Trigger class="gh-btn gh-btn-editor {{if (or (eq this.displayState "published") (eq this.displayState "scheduled")) "green"}} gh-publishmenu-trigger">
|
||||
<span data-test-publishmenu-trigger>{{this.triggerText}} {{svg-jar "arrow-down"}}</span>
|
||||
</dd.Trigger>
|
||||
@ -55,7 +55,7 @@
|
||||
/>
|
||||
</footer>
|
||||
</dd.Content>
|
||||
</BasicDropdown>
|
||||
</GhBasicDropdown>
|
||||
|
||||
{{#if this.showEmailConfirmationModal}}
|
||||
<GhFullscreenModal
|
||||
|
Loading…
Reference in New Issue
Block a user