[Vuejs]-Vuetify calendar @click:more fire the @click:day

0👍

I solved the problem by what i think a not good way.
But this works like expect and affect nothing, if we can’t use a .stop event is maybe the good way.

Remove the @click:day on you’r v-calendar balise, add inside a template:

<template v-slot:day="day">
  <div class="tw-h-full" @click="openModalDay(day)" />
</template>

Tw-h-full is use to take the entire height of the day.
Note the fact, no template is available for the more button.

And add on the v-calendar the @click:more, all works fine and no trigger event at the same time.

Leave a comment