Skip to content

Conversation

@gnestor
Copy link
Contributor

@gnestor gnestor commented Jul 24, 2017

Closes #2590

It looks like this.collapsed is returning false and therefore this.prompt_overlay.show() is not being called: https://github.com/jupyter/notebook/blob/master/notebook/static/notebook/js/outputarea.js#L155

@gnestor
Copy link
Contributor Author

gnestor commented Jul 24, 2017

@minrk Mind taking a look at this? Just wanna make sure that this doesn't behave unexpectedly in some edge case.

@gnestor gnestor added this to the 5.1 milestone Jul 24, 2017
@gnestor gnestor requested review from minrk and takluyver July 27, 2017 01:03
@gnestor gnestor mentioned this pull request Jul 30, 2017
11 tasks
@Carreau
Copy link
Member

Carreau commented Jul 30, 2017

Let's try it to see if it has side effects.

@Carreau Carreau merged commit decb30d into jupyter:master Jul 30, 2017
@gnestor gnestor deleted the fix-prompt-overlay branch July 31, 2017 17:16
@minrk
Copy link
Member

minrk commented Aug 2, 2017

I think this is right. I saw this when I did my PR, but then forgot to investigate.

@gnestor gnestor mentioned this pull request Aug 3, 2017
@jasongrout
Copy link
Member

FYI, this breaks the prompt_area: false argument to the output area constructor. We're seeing this in ipywidgets, where we explicitly set that to false, but now the prompt area is still shown.

For now, we'll just hardcode some css to hide the prompt area in output widgets. I think it would be enough to check this.prompt_area and if it is false, explicitly hide the prompt area as before.

CC jupyter-widgets/ipywidgets#1765

@jasongrout
Copy link
Member

Proposed fix: #2961

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clicking left-margin to collapse output no longer works

4 participants