Skip to content

Commit

Permalink
Disconnect loaded Frame Element while rendering (hotwired#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpdoyle authored Nov 18, 2021
1 parent ca1117b commit ce984f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/frames/frame_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class FrameRenderer extends Renderer<FrameElement> {
if (sourceRange) {
sourceRange.selectNodeContents(frameElement)
this.currentElement.appendChild(sourceRange.extractContents())
frameElement.disconnectedCallback()
}
}

Expand Down

0 comments on commit ce984f4

Please sign in to comment.