Search and Replace input problem with ie11 unable to enter text #2191

Closed
Leroyk2 opened this Issue Jan 29, 2014 · 4 comments

Comments

Projects
None yet
2 participants

Leroyk2 commented Jan 29, 2014

If I search with IE11 for the second time I am unable to write some text in the input field. Codemirror version is 3.21

To solve the problem change in the dialog addon:

if (e.keyCode == 13 || e.keyCode == 27) {
CodeMirror.e_stop(e);
close();
me.focus();
if (e.keyCode == 13) callback(inp.value);
}

to:

if (e.keyCode == 13 || e.keyCode == 27) {
inp.blur();
CodeMirror.e_stop(e);
close();
me.focus();
if (e.keyCode == 13) callback(inp.value);
}

This starts on line 42

Owner

marijnh commented Jan 29, 2014

I am unable to reproduce the problem. What did you do exactly? And did the input problem happen in the editor itself or in the search box?

Leroyk2 commented Jan 29, 2014

Use IE11 and hit control +f search for something what doesn't exists in the text. Hit control + f for the second time. Now it is not possible to type some text in the search box.

Owner

marijnh commented Jan 30, 2014

That does not happen for me (IE11, Windows 7).

marijnh added a commit that referenced this issue Jan 30, 2014

Owner

marijnh commented Jan 30, 2014

Still, your workaround seems harmless enough. Applied in attached patch.

@marijnh marijnh closed this Jan 30, 2014

GerHobbelt added a commit to GerHobbelt/CodeMirror2 that referenced this issue Feb 8, 2014

anaran added a commit to anaran/CodeMirror that referenced this issue Feb 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment