Skip to content

Commit

Permalink
MediaUpload: Remove dialog markup on close (#62168)
Browse files Browse the repository at this point in the history
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: joemcgill <joemcgill@git.wordpress.org>
  • Loading branch information
3 people committed Jun 4, 2024
1 parent a9fd33c commit a8739f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/media-utils/src/components/media-upload/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ class MediaUpload extends Component {
if ( onClose ) {
onClose();
}

this.frame.detach();
}

updateCollection() {
Expand Down

1 comment on commit a8739f9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in a8739f9.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9368382723
📝 Reported issues:

Please sign in to comment.