-
Notifications
You must be signed in to change notification settings - Fork 41
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
Input and output disappearing after changing window size of browser #116
Comments
hm, I'm on chrome and I can't reproduce this. @thecodingwizard any clue? |
Hmm, I also can't reproduce this. @SergioGzzBrz are you running on Windows 11? Could you also check the developer tools console to see if there are any error messages? Also, are you entering full screen by clicking some full screen button? What happens if you try resizing the window by dragging the window borders rather than clicking the full screen / maximize button? |
If I had to guess, it's probably something related to https://stackoverflow.com/questions/49039102/window-resize-or-window-onresize-not-firing-when-the-window-is-maxim (ie. we can try adding a short settimeout after window resize event or something). Unfortunately I don't have a windows machine to test this :( |
When the problem occurs
Whenever the size of the window is small enough, the ide shows a menu at the bottom of the different tabs (code, input/output, and users).
But after you return to full screen, it now only shows the tab that was active in the menu. For example, if you had a smaller window with the code tab open, and you return to fullscreen, now the input/output section cannot be seen. I added an image for this case, and how it can happen for the other tabs too.
I've tried in edge and chrome, and occurs in both browsers.
Temporal solution
Reloading the page is the only method I've found that solves this problem, until the window is made small again.
Also, I just found out that clicking the "1 user online" button also fixes it.
Images
Normal window:
Making the window smaller, showing the menu
Image input/output not appearing after maximizing the window
Image of code not appearing if last active tab in the menu was code:
Image of neither appearing if last active tab was users:
The text was updated successfully, but these errors were encountered: