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 8388914 commit a14e1e9Copy full SHA for a14e1e9
lib/codemirror.js
@@ -1560,7 +1560,8 @@ window.CodeMirror = (function() {
1560
// Don't do a replace if the drop happened inside of the selected text.
1561
if (cm.view.draggingText && !(posLess(pos, cm.view.sel.from) || posLess(cm.view.sel.to, pos))) {
1562
cm.view.draggingText(e);
1563
- if (ie) setTimeout(bind(focusInput, cm), 50);
+ // Ensure the editor is re-focused
1564
+ setTimeout(bind(focusInput, cm), 20);
1565
return;
1566
}
1567
try {
0 commit comments