-
Notifications
You must be signed in to change notification settings - Fork 947
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
hide out_prompt_overlay in Output widget #1765
Comments
That prompt area should be hidden:
It's hidden for me, with the element having an explicit style "display: none". Can you check the javascript code to make sure that line above is saying What version of the notebook are you using? |
It looks like that that line is in the version of the widgets nb extension I have (though I'm looking at webpacked JS here): This is with the current commit in master (3af1317) and notebook==5.1.0 |
Huh, I just reproduced it. Looking into it... |
Looks like a bug in the notebook, introduced in jupyter/notebook#2681. Proposed fix for the notebook at jupyter/notebook#2961 For us, I agree that we should add some stop-gap CSS to get rid of it. |
Do you want submit a PR adding this to https://github.com/jupyter-widgets/ipywidgets/blob/master/widgetsnbextension/src/widget_output.css with an explanatory note pointing to the notebook PR and this discussion? |
(then I'll release a quick widgetsnbextension 3.0.6 with just this fix) |
This works around for the bug fixed in jupyter/notebook#2961 Thanks to @mheilman for noting the problem and suggesting a fix. Fixes jupyter-widgets#1765
I went ahead and made a PR for it so we can get a fix out before the weekend. |
The Output widget shows the overlay on the left side of the output area that lets people collapse an output cell in a notebook (see screenshot below). It doesn't seem like this is behavior that one would want when using an Output widget. Would it be possible to hide this overlay by default or make it optional?
Would it make sense to add some CSS like
.jupyter-widgets-output-area > .out_prompt_overlay {display: none}
?The text was updated successfully, but these errors were encountered: