Make WordPress Core

Opened 10 years ago

Closed 5 months ago

Last modified 4 months ago

#35310 closed defect (bug) (wontfix)

"Add Media" dropzone shouldn't take up the entire modal window

Reported by: r-a-y's profile r-a-y Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Upload Keywords: 2nd-opinion
Focuses: ui, administration Cc:

Description

As @ocean90 mentioned in #28851,

the whole ["Add Media" modal window] is a dropzone for the uploader.

For example, if you drag and drop an item over the left, gray column where the "Create Gallery", "Create Audio Playlist" and "Featured Image" links are, the "Add Media" window will show that the dropzone covers this area as well.

Since I'm attempting to write a plugin to add an extra plupload drag-and-drop instance in the existing "Add Media" modal window, my custom dropzone will not take effect because WP's dropzone has precedence.

Would it be possible to limit WP's uploader dropzone to the "Insert Media > Upload Files" tab only?

Change History (4)

#1 @dd32
10 years ago

IMHO The dropzone should probably stay as the entire modal, but only active when on a core upload screen.

When a custom tab is in view, the core dropzone should be disabled.

#2 @desrosj
6 years ago

  • Keywords 2nd-opinion added

#3 @mindctrl
5 months ago

  • Resolution set to wontfix
  • Status changed from new to closed

Howdy, I see this ticket hasn't been really been touched since it was opened 11 years ago. I'm going to close it to help clean up open issues. Feel free to re-open if there's renewed interest.

#4 @peterwilsoncc
4 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.