[richfaces-issues] [JBoss JIRA] (RF-13597) Drag and drop support for file upload

Michal Petrov (JIRA) issues at jboss.org
Wed Jul 9 08:18:25 EDT 2014


    [ https://issues.jboss.org/browse/RF-13597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983475#comment-12983475 ] 

Michal Petrov commented on RF-13597:
------------------------------------

{quote}Regression on Chrome, Safari, Opera 22: after a file (or files) added to upload (dnd/by 'Add' button), the user cannot click on the 'Upload' button, the 'Add' button is clicked instead.{quote}
fixed, this was caused by a custom CSS that made the input positioned over the upload button. I made the overflow hidden but I'm not sure if it didn't break the tests.

{quote}This DnD feature works well on FF and Safari, where user can drop item on the list of files to upload and also on the 'Add' button. On the other browsers, it works differently:
# Chrome, IE 10, IE 11, Opera 22: Items cannot be dropped on the 'Add' button, but can be dropped on the list of files to upload
# Opera 12.16: similar to Chrome, but only one item is added to files to upload regardless of how many files were dragged, also there is a prompt window for permitting this action ("Do you want to upload files to ... yes/no"){quote}
As mentioned above, ability to drop onto input is up to the browser implementation, unfortunately I cannot do anything about the Opera prompt.

{quote}It would be great if items can be dropped also on the FileUpload toolbar{quote}
Files can now be dropped anywhere on the component. In Chrome the icon changes when the files are dragged over the component but other browsers don't do that.


> Drag and drop support for file upload
> -------------------------------------
>
>                 Key: RF-13597
>                 URL: https://issues.jboss.org/browse/RF-13597
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component
>    Affects Versions: 4.1.0.Final
>            Reporter: abhishek vijra
>            Assignee: Michal Petrov
>             Fix For: 4.5.0.Alpha3
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> Drag/Drop support should be added to file upload component .
> Like the primefaces fileUploadDnd : http://www.primefaces.org/showcase/ui/fileUploadDnd.jsf



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the richfaces-issues mailing list