chjj / tty.js

A terminal for your browser, using node/express/socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Focus gets lost on IE

Aurimas86 opened this issue · comments

When using IE and navigating in application that contains inputs - pressing Enter or arrows keys should navigate to next input, but window tab just loses focus. Tab has to be pressed with mouse - to return focus.

Also F1 that is function key in app - brings IE help page as side effect.

No problems with FF or Chrome.

https://github.com/risacher/ttyx is a fork of tty.js that replaces term.js with xterm.js, updates socket.io to version 1.x and updates Express to version 4.x. Since the keyboard-handling code is noticeably different between xterm.js an term.js, perhaps you could see if ttyx fixes your issue?

FWIW, I should add that I tested in IE11 with ttyx and I did not observe any issues with losing focus on tab, enter, or arrow keys.