-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues in IE 10 browser #33
Comments
I don't know about 1 because I haven't been using the scroll bar, but on 2, I have noticed it and have some example code. I am building a cpu emulator in javascript and noticed that I lose focus every time I get to the end of the lines of the terminal. However its not a focus issue, it seems that the onkeydown cannot find the element that called it. I just started looking at it but thought I would post some code for it. FYI chrome works fine though. Just type something and pres enter, keep typing and when it needs to scroll it will stop responding to keypresses. Only in IE10 though |
Ok, I fixed my issue, sort of. I am not very good at javascript yet but I have a hack. At the end of the refresh function I put this down. if (this.focus) self.focus(); I think what happens is that IE10 loses focus when refresh removes/adds lines in the dom even though its all still in the parent container. Checking if we had focus and then refreshing the focus fixes it. |
Proposed a solution: string 1416, instead of
|
I see following issues when used term.js in IE 10 browser.
Scroll bar does not work in IE 10 browser.
When ever space bar is used to load more information focus is being out from the terminal to enter next command or to click space bar again, focus has to be brought back to the terminal by clicking on the terminal using mouse click.
The text was updated successfully, but these errors were encountered: