We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e922197 + 8c747e7 commit ccb585eCopy full SHA for ccb585e
jquery.ui.touch-punch.js
@@ -153,7 +153,7 @@
153
if ((Math.abs(endPos.x - this._startPos.x) < 10) && (Math.abs(endPos.y - this._startPos.y) < 10)) {
154
155
// If the touch interaction did not move, it should trigger a click
156
- if (!this._touchMoved) {
+ if (!this._touchMoved || event.originalEvent.changedTouches[0].touchType === 'stylus') {
157
// Simulate the click event
158
simulateMouseEvent(event, 'click');
159
}
0 commit comments