[richfaces-issues] [JBoss JIRA] Commented: (RF-1100) Drag-n-Drop: dragged item does not scroll up the view port in Firefox
Dirk vanWestrienen (JIRA)
jira-events at lists.jboss.org
Tue Jan 29 09:36:01 EST 2008
[ http://jira.jboss.com/jira/browse/RF-1100?page=comments#action_12397344 ]
Dirk vanWestrienen commented on RF-1100:
----------------------------------------
I noticed the same issue in both Firefox and IE. Inability to drag an item to a location that wasn't currently visible in the view port. We solved the issue by editing the footer() function in the dyna.js file. We added the scroll options as shown below.
// Create draggable regions
for(var i = 0;i < regions_on_page.length;i++) {
var region = regions_on_page[i];
// Added custom handle and added page scroll options. (dvw)
Sortable.create(region, {dropOnEmpty:true,handle:"snl-handle",tag:"div",
containment:regions_on_page,constraint:false,hoverclass:"dnd-droppable",scroll:window,scrollSpeed:50});
}
> Drag-n-Drop: dragged item does not scroll up the view port in Firefox
> ---------------------------------------------------------------------
>
> Key: RF-1100
> URL: http://jira.jboss.com/jira/browse/RF-1100
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5
> Reporter: Brian Preu?
> Assigned To: Pavel Yaschenko
> Priority: Minor
> Fix For: 3.2.0
>
>
> Suppose you have a "drop zone" for dragable items somewhere near the top of your page.
> If you got a longer list of dragable item, you scoll down the page, so that the "drop zone" moves out of the view port.
> Now try to drag an item with the mouse pointer movement to the "drop zone", which sits outside the view port (on the top).
> It's not possible to do this in Firefox 2.0.0.5 on Fedora Core 7. It works fine with Opera 9.2.3.
> As a work around you can use the cursor key in Firedox to scroll up the page, while you're still dragging the item.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list