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.
1 parent c1826e2 commit ce19f9dCopy full SHA for ce19f9d
inst/htmlwidgets/plotly.js
@@ -8,7 +8,7 @@ HTMLWidgets.widget({
8
},
9
10
resize: function(el, width, height, instance) {
11
- if (instance.autosize && el.isConnected) {
+ if (instance.autosize) {
12
var width = instance.width || width;
13
var height = instance.height || height;
14
Plotly.relayout(el, {width: width, height: height});
0 commit comments