[wp-trac] [WordPress Trac] #49431: Media uploader window leaves behind orphan button element in Block Editor
WordPress Trac
noreply at wordpress.org
Fri Feb 14 10:14:28 UTC 2020
#49431: Media uploader window leaves behind orphan button element in Block Editor
--------------------------+------------------------------
Reporter: talldanwp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.0
Severity: normal | Resolution:
Keywords: | Focuses: javascript
--------------------------+------------------------------
Comment (by talldanwp):
Hey @afercia, It'd still be good to get an understanding of why this
button element is attached to the body. I think there could be two fixes,
first perhaps making it so that the media uploader doesn't attach elements
to the body, making this behaviour better encapsulated. Second,
potentially changing the way media is initialised in the editor to avoid
multiple instances.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49431#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list