I believe I have found a bug in the Full Calendar DayClick event.
The DayClickEventArgs parameter has a “.Clicks” property – which I believe should be able to tell me if it is a single click or a double click. Is that correct?
It always returns 1 even if it is a double-click.
I’m trying to work around a behavior where the user clicks on a day to add a new event on the calendar, and my code pops up a modal form. If the user double-clicks to do that – I end up getting two of these forms – one on top of the other (which of course I do not want). I was going to limit displaying the form to only when e.Clicks = 1 – but its always 1, so that can’t work.
thanks for reporting this. We now added a new event DayDoubleClick so in that case you won´t receive 2 DayClicks event anymore.
It´s logged as WJ-8457 and will be included in the next release.
We´ll inform you when it´s available.
Please login first to submit.