Skip to content

Commit

Permalink
remove pane to force redraw on render
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatson5 committed Mar 18, 2021
1 parent 5c7f21d commit 057ed10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/managers/views/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,11 @@ class IframeView {
this.stopExpanding = true;
this.element.removeChild(this.iframe);

if (this.pane) {
this.pane.element.remove();
this.pane = undefined;
}

this.iframe = undefined;
this.contents = undefined;

Expand Down

0 comments on commit 057ed10

Please sign in to comment.