Skip to content

Commit

Permalink
Merge pull request #89 from Cadiducho/fix/items-de-la-lista-desaparec…
Browse files Browse the repository at this point in the history
…en-al-click-fuera

Fix/items de la lista desaparecen al click fuera
  • Loading branch information
Cadiducho authored Apr 22, 2023
2 parents 96477a7 + 4aefc63 commit 45fd720
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/gps/SelectTipps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
</o-collapse>

<SlickList
:distance="1"
v-model:list="pilotosDisponiblesFiltrados"
:group="session.name"
:accept="[session.name]"
Expand Down Expand Up @@ -91,8 +92,14 @@

<div class="column is-6">
<h3 class="is-unselectable">Pilotos pronosticados</h3>
<!--
Hotfix: Los items desaparecen al moverlos y hacer click en un espacio vacío del slick list.
Ref: https://github.com/Jexordexan/vue-slicksort/issues/186
El atributo `:distance="1"` previene este error
-->

<SlickList
:distance="1"
v-model:list="pilotosPronosticados"
:group="session.name"
:accept="[session.name]"
Expand Down

0 comments on commit 45fd720

Please sign in to comment.