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