Skip to content

Vertical and horizontal scrollbar not both visible in toggled output #254

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

Closed
jorisvandenbossche opened this issue Aug 3, 2015 · 7 comments · Fixed by #535
Closed

Vertical and horizontal scrollbar not both visible in toggled output #254

jorisvandenbossche opened this issue Aug 3, 2015 · 7 comments · Fixed by #535

Comments

@jorisvandenbossche
Copy link
Contributor

When displaying a large pandas DataFrame, you get some scrollbars. And starting from pandas 0.16.2, we leave the overflowing fully to the notebook itself (we removed style="max-width:1500px;overflow:auto;" from the html output, see pandas-dev/pandas#10232).

But I noticed another issue: when having a wide frame that does not fit the notebook width, you get horizontal scrollbar at the bottom of the output. When you also use the 'scroll output' feature, you get a vertical scrollbar as well. But the horizontal is only visible when you first scroll down to the bottom. To illustrate:

nb2

nb1

So if you want to see all columns of the first rows, you first have to scroll down, to be able to scroll right, then scroll up again to see the rows.

I suppose the one scrollbar belongs to the output itself, and the other to the toggled ouput area, but would it be possible to have them both on the toggled output area?

@minrk minrk added this to the 4.1 milestone Sep 11, 2015
@captainsafia
Copy link
Member

I'll take a look at this. Feel free to assign me, @minrk.

@minrk
Copy link
Member

minrk commented Sep 23, 2015

@captainsafia thanks, assigned.

@jasongrout
Copy link
Member

@captainsafia or @jorisvandenbossche, can you test my fix at #535?

@captainsafia
Copy link
Member

Tested.

@minrk minrk closed this as completed in #535 Oct 6, 2015
@jasongrout
Copy link
Member

@captainsafia, sorry! I didn't realize you were working on this. I saw that it had no updates for over a week, and figured people got busy and I could help out.

@willingc
Copy link
Member

willingc commented Oct 7, 2015

@jasongrout Rumor has it @captainsafia likes really cool cat gifs and emojis. Perhaps offer to pair on a future issue. 🌻

@captainsafia
Copy link
Member

@jasongrout — No worries! I got a little busy with coursework and didn't have the chance to follow through on this until 3 hours before you did (ha!) None the less, the bug is squashed and peace prevails for a moment.

giphy-5

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.