We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 937d06f + b04db89 commit a916035Copy full SHA for a916035
notebook/static/notebook/js/outputarea.js
@@ -966,7 +966,8 @@ define([
966
// Fix the output div's height if the clear_output is waiting for
967
// new output (it is being used in an animation).
968
if (!ignore_clear_queue && this.clear_queued) {
969
- var height = this.element.height();
+ // this.element.height() rounds the height, so we get the exact value
970
+ var height = this.element[0].getBoundingClientRect().height;
971
this.element.height(height);
972
this.clear_queued = false;
973
}
0 commit comments