Skip to content

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

Closed
@jorisvandenbossche

Description

@jorisvandenbossche

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions