Skip to content

Commit

Permalink
disable dragging feature of slide toc
Browse files Browse the repository at this point in the history
  • Loading branch information
IshavSohal committed Aug 7, 2024
1 parent 1bab84d commit 1d2373b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/slide-toc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</vue-final-modal>
</div>
<ul class="max-h-screen overflow-y-auto">
<draggable v-model="slides" @update="$emit('slides-updated', slides)" item-key="title" v-focus-list>
<draggable v-model="slides" @update="$emit('slides-updated', slides)" item-key="title" v-focus-list :disabled="true">
<template #item="{ element, index }">
<li
class="toc-slide border-t flex px-2 cursor-pointer hover:bg-gray-300"
Expand Down

0 comments on commit 1d2373b

Please sign in to comment.