1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Drag and drop to editor upload

Discussion in 'Resolved Bug Reports' started by Chris D, Jul 11, 2014.

  1. Chris D

    Chris D XenForo Developer Staff Member

    I'm relatively sure this is a browser/OS issue but I just thought I would check.

    In Chrome on Windows, I can click and drag from the Download bar, e.g.


    Into the editor and it will upload that file.

    In Chrome on Mac, I can't.

    The editor does detect that there is something being dragged as the message "Drop files here to upload" appears, but nothing happens when the item is dropped.

    Presumably it's some sort of handling in Mac OS X that prevents this behaviour from working as expected, but just in case, I thought I would mention it.


  2. Chris D

    Chris D XenForo Developer Staff Member

    In case it's of any relevance...

    If there is a standard HTML file input on the page, I can click and drag files from the download bar to that. This just seems to affect the XF editor.

    I can also drag from the download bar to Imgur and that catches the file for upload.

    I had a quick look on StackOverflow and it appears people have had a similar issue before, and there's a potential solution here: http://stackoverflow.com/questions/19526430/drag-and-drop-file-uploads-from-chrome-downloads-bar
  3. Mike

    Mike XenForo Developer Staff Member

    Setting the dropEffect to copy seems to sort this. I have no idea why this would apply to Chrome on Mac only.
    Chris D likes this.

Share This Page