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 5e9468a commit 6a15417Copy full SHA for 6a15417
src/plots/plots.js
@@ -104,7 +104,8 @@ plots.resize = function(gd) {
104
105
Registry.call('relayout', gd, {autosize: true}).then(function() {
106
gd.changed = oldchanged;
107
- resolve(gd);
+ // Only resolve if a new call hasn't been made!
108
+ if(gd._resolveResize === resolve) resolve(gd);
109
});
110
}, 100);
111
0 commit comments