Skip to content

Commit

Permalink
fix(NcAppNavigation): make toggle button not the first element in foc…
Browse files Browse the repository at this point in the history
…us-trap

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Nov 21, 2023
1 parent 5a6637e commit d0c8f9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/NcAppNavigation/NcAppNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ emit('toggle-navigation', {
<div ref="appNavigationContainer"
class="app-navigation"
:class="{'app-navigation--close':!open }">
<div class="app-navigation__toggle-wrapper">
<NcAppNavigationToggle :open="open" @update:open="toggleNavigation" />
</div>
<nav id="app-navigation-vue"
:aria-hidden="open ? 'false' : 'true'"
:aria-label="ariaLabel || undefined"
Expand All @@ -76,6 +73,9 @@ emit('toggle-navigation', {
<!-- Footer for e.g. AppNavigationSettings -->
<slot name="footer" />
</nav>
<div class="app-navigation__toggle-wrapper">
<NcAppNavigationToggle :open="open" @update:open="toggleNavigation" />
</div>
</div>
</template>

Expand Down

0 comments on commit d0c8f9a

Please sign in to comment.