Skip to content
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

Terminals scrolling problem (needs resizing) #105

Open
yogeek opened this issue Mar 4, 2018 · 7 comments
Open

Terminals scrolling problem (needs resizing) #105

yogeek opened this issue Mar 4, 2018 · 7 comments

Comments

@yogeek
Copy link
Contributor

yogeek commented Mar 4, 2018

There are some displaying problems with terminal scroll bars in some labs.
Example to reproduce the problem :

  • open https://training.play-with-docker.com/ops-s1-swarm-intro/ lab with Chrome or Firefox
  • execute the first command of the lab docker swarm init --advertise-addr $(hostname -i) in the upper terminal (the scroll bar doen not follow the output)
  • scroll down the first terminal and try to enter a character on the command line
    => the scroll bar goes back up and prevents to see what is typed

It seems that resizing the page or moving the central vertical slide bar to change left-right proportion once makes the scrolling issue disappear.

OS : Ubuntu 16.04.4 LTS
Chrome version tested : Version 64.0.3282.186 (Build officiel) (64 bits)
Firefox version tested : 58.0.2 (64 bits)

Thank you !

@marcosnils
Copy link
Contributor

It seems that resizing the page or moving the central vertical slide bar to change left-right proportion once makes the scrolling issue disappear.

Yes, we we're aware that there are some issues with the terminals the first time they render. That's why we added this message:

image

It's pretty tricky yo make the terminal scrolls work ok in all browsers and platforms. This shouldn't happen using chrome though.

Which OS are you using?, can you reproduce it consistently?. Have you tried a different browser?

@yogeek
Copy link
Contributor Author

yogeek commented Mar 4, 2018

hello @marcosnils
Oh ok, indeed I have seen the warning message but misinterpreted it : I thought it only concerned the case when the terminal window does not show the command line at all. Here it is only after typing some commands that the issue appeared and as all was ok at the beginning, I forgot about the message... Sorry for the misinterpretation.

My OS and browser versions are mentioned in the issue description and yes, with these environments, I can reproduce it each time I refresh the page to start the lab again.

Thanks for your help

@marcosnils
Copy link
Contributor

Sorry, I didn't see the OS. I'll give it a shot during the week and see if I can reproduce

@marcosnils
Copy link
Contributor

@yogeek can you try using chrome to see if the problem is there as well?

@yogeek
Copy link
Contributor Author

yogeek commented Mar 4, 2018

OS : Ubuntu 16.04.4 LTS
Chrome version tested : Version 64.0.3282.186 (Build officiel) (64 bits)
Firefox version tested : 58.0.2 (64 bits)

@marcosnils I already tested with both firefox and chrome before submitting but only with these 2 specific versions

@idkjs
Copy link

idkjs commented May 4, 2018

Same issue here. Firefox and chrome.

PrisBook:~$ macnodeyarnv
ProductName:	Mac OS X
ProductVersion:	10.13.4
BuildVersion:	17E202
yarn version: 1.6.0
node version: v9.5.0

Firefox
screen shot 2018-05-04 at 1 02 17 pm

Chrome
screen shot 2018-05-04 at 1 01 25 pm

@TjrGithub
Copy link

I also have this issue on Ubuntu 19.10, latest Firefox 74.0. Whenever I type something, the terminal scrolls fully up and hides anything I type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants