Skip to content

Commit

Permalink
feat: enable focus trap only if the sidebar is an overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed May 7, 2021
1 parent 00d61f6 commit b9ad9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-runtime/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</template>
<div v-else key="core-content" class="uk-flex uk-flex-stretch">
<transition :name="appNavigationAnimation">
<focus-trap v-if="isSidebarVisible" :active="windowWidth < 1200 && appNavigationVisible">
<focus-trap v-if="isSidebarVisible" :active="isSidebarFixed && appNavigationVisible">
<oc-sidebar
v-touch:swipe.left="handleNavSwipe"
class="oc-app-navigation"
Expand Down

0 comments on commit b9ad9f4

Please sign in to comment.