You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've run into an issue where we need to prevent default on a touch, as the iphone will then trigger a mouse event too, thereby duplicating everything.
I've modified the library to include a configuration option called preventTouchDefault and preventMouseDefault.
And added the folllwing lines of code to replace
Original code:
if (options.preventDefault) {
event.preventDefault && event.preventDefault();
return false;
}
We've run into an issue where we need to prevent default on a touch, as the iphone will then trigger a mouse event too, thereby duplicating everything.
I've modified the library to include a configuration option called preventTouchDefault and preventMouseDefault.
And added the folllwing lines of code to replace
Original code:
if (options.preventDefault) {
event.preventDefault && event.preventDefault();
return false;
}
New code
isMouse=false;
if(event.type.match(/^mouse/))
isMouse=true;
The text was updated successfully, but these errors were encountered: