Skip to content

Commit

Permalink
fix: disable swipe for tabs and sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Jul 29, 2021
1 parent 8c2a857 commit 6be0dad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/fragments/forms/map-form/MapForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
<v-tab ripple key="1" class="tab-title" v-if="hasIsochronesTab">
{{$t('mapForm.isochrones')}}
</v-tab>
<v-tab-item key="0" v-if="hasPlacesAndDirectionsTab">
</v-tabs>
<v-tabs-items v-model="activeTab" touchless>
<v-tab-item key="0" v-if="hasPlacesAndDirectionsTab" touchless>
<places-and-directions :active="$store.getters.mode !== constants.modes.isochrones"> </places-and-directions>
</v-tab-item>
<v-tab-item key="1" v-if="hasIsochronesTab">
<v-tab-item key="1" v-if="hasIsochronesTab" touchless>
<isochrones :active="$store.getters.mode === constants.modes.isochrones" ></isochrones>
</v-tab-item>
</v-tabs>
</v-tabs-items>
</div>
</template>

Expand Down
1 change: 1 addition & 0 deletions src/fragments/sidebar/Sidebar.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div >
<v-navigation-drawer
touchless
app
clipped
stateless
Expand Down

0 comments on commit 6be0dad

Please sign in to comment.