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 10e7fc8 commit c747465Copy full SHA for c747465
1 file changed
packages/perspective-viewer-d3fc/src/js/plugin/plugin.js
@@ -533,8 +533,13 @@ export function register(...plugins) {
533
if (settings) {
534
delete settings["colorStyles"];
535
delete settings["textStyles"];
536
- initialiseStyles(this._container, this._settings);
537
- this.resize(...args);
+ if (this.isConnected) {
+ initialiseStyles(
538
+ this._container,
539
+ this._settings
540
+ );
541
+ this.resize(...args);
542
+ }
543
}
544
545
0 commit comments