mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Prevents partial tab view when using keyboard navigation in tag settings
refs #5652 - Mimics behaviour of post-settings-menu - Surrounded the subnavpage with a conditional to check if the page is active before focusing on it
This commit is contained in:
parent
fd3127b342
commit
457f5c3a6d
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
|||
|
||||
<div class="{{if isViewingSubview 'settings-menu-pane-in' 'settings-menu-pane-out-right'}} settings-menu settings-menu-pane tag-meta-settings-pane">
|
||||
{{#gh-tab-pane}}
|
||||
{{#if isViewingSubview}}
|
||||
<div class="settings-menu-header subview">
|
||||
<button {{action "closeSubview"}} class="back icon-arrow-left settings-menu-header-action"><span class="hidden">Back</span></button>
|
||||
<h4>Meta Data</h4>
|
||||
|
@ -78,6 +79,7 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>{{! .settings-menu-content }}
|
||||
{{/if}}
|
||||
{{/gh-tab-pane}}
|
||||
</div>{{! .settings-menu-pane }}
|
||||
{{/gh-tabs-manager}}
|
||||
|
|
Loading…
Add table
Reference in a new issue