Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion notebook/static/notebook/js/outputarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,8 @@ define([
// Fix the output div's height if the clear_output is waiting for
// new output (it is being used in an animation).
if (!ignore_clear_queue && this.clear_queued) {
var height = this.element.height();
// this.element.height() rounds the height, so we get the exact value
var height = this.element[0].getBoundingClientRect().height;
this.element.height(height);
this.clear_queued = false;
}
Expand Down