antoniandre / vue-cal

A Vue.js full calendar, no dependency, no BS. :metal:
https://antoniandre.github.io/vue-cal/
MIT License
1.24k stars 238 forks source link

Don't change view when fire cell-dblclick #532

Open Noreu opened 1 year ago

Noreu commented 1 year ago

Hello,

I have a custom function when a cell-dblclick event is fired. This function just open a modal. After this function is called, there is an activeView event called that I wan't to stop.

<vue-cal
  ref="vuecal"
  v-model:active-view="planningStore.activeView"
  :on-event-dblclick="onEventClick"
  :cell-click-hold="false"
  :drag-to-create-event="false"
  @cell-dblclick="createEvent">
</vue-cal>
function createEvent(event) {
  createEventDialog.value = true
}

On the on-event-dblclick, you provide a solution to stop the propagation. Is there a similar way for the cell-dblclick event ?

Thanks for the help :)