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
Add scroll bar for horizontally overflowing, unshrinkable outputs #12077
Conversation
Thanks for making a pull request to jupyterlab! |
Thanks for opening this PR @mueslo The way changes are handled in JupyterLab is by always targeting the master branch and then backporting to production branch. This improves consistency and allows to backport easily to multiple branches if needed. Could you please bring a PR against the master branch? |
Sorry - if this procedure was mentioned somewhere, I must have missed it.
To me it looked like the master branch targeted 4.x. The master branch has
reworked the `outputarea` css (grid instead of flexbox, see #11508), but I
don't see it being backported. What course of action would you suggest?
…On Fri, 18 Feb 2022, 08:19 Frédéric Collonval, ***@***.***> wrote:
Thanks for opening this PR @mueslo <https://github.com/mueslo>
The way changes are handled in JupyterLab is by always targeting the
master branch and then backporting to production branch. This improves
consistency and allows to backport easily to multiple branches if needed.
Could you please bring a PR against the master branch?
—
Reply to this email directly, view it on GitHub
<#12077 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGO7B2FQDSZTIDDDAL7CU3U3XXJRANCNFSM5OU5A2RA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks. Once #11508 is backported I think a different method can be used to bring the outputs back which will show the horizontal scroll bar at the same location in the DOM as the vertical scroll bar, which would also solve #4208 Is there any timeline of backporting those changes? Or would I need to initiate it? |
Could you please change the target (or close this PR and open a new one) to address this proposal against the |
It looks like closing this PR and opening a new one against master branch is the way to go. @mueslo are you still interested? |
References
Fixes #12070
Code changes
.jp-OutputArea-child
overflowauto
instead ofhidden
.User-facing changes
Adds a horizontal scroll bar for the case that horizontal overflow occurs.
In the general case of no overflow, no visual changes are present.
If output scrolling is enabled, the horizontal scrollbar will appear only once scrolled to the bottom (as it is in a different place in the DOM).
Backwards-incompatible changes
None.