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.
1 parent ae709c4 commit 99993c6Copy full SHA for 99993c6
src/input/ContentEditableInput.js
@@ -59,10 +59,10 @@ export default class ContentEditableInput {
59
}
60
})
61
62
- var lastTouchStart;
+ var lastTouchStart
63
on(div, "touchstart", function () {
64
// do not force composition for double-tap, it breaks selection
65
- if (lastTouchStart < +new Date() + DOUBLECLICK_DELAY) return
+ if (+new Date() < lastTouchStart + 400) return
66
lastTouchStart = +new Date()
67
68
var startPos = cm.indexFromPos(cm.getCursor('from'))
0 commit comments