-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dayClick incorrectly triggered on scroll with touch devices #3152
Comments
I noticed the same thing. I was able to work around it with the following trick (though I'd prefer dayClick not fire during a drag):
Then in your dayClick, check to see if |
Here is my workaround for it: dayClick: (date, jsEvent, view, resource) => {
// [FIXME] Workaround for https://github.com/fullcalendar/fullcalendar/issues/3152
if (jsEvent.originalEvent.type === "scroll") {
return;
}
// ...
} |
I can confirm this, we had to fallback to old library because of this. We updated the plugin one day before going live and it broke our web app on touch devices.. |
thank you for this! will get this fixed |
this is fixed in v2.7.2. could you please verify? |
It seems that dayClick is triggered when the calendar is scrolled (by drag it) on touch devices (at least on iOS).
I reproduced the bug here: http://jsfiddle.net/1x8L2cjr/8/
Thanks for your help
The text was updated successfully, but these errors were encountered: