Opened 15 years ago

Closed 15 years ago

#1875 closed defect (fixed)

HtmlDragManager::cacheTargetLocations should use scroll dimensions of target not offset

Reported by: guest Owned by: psowden
Priority: high Milestone: 0.9
Component: DnD Version: 0.4
Keywords: Cc:
Blocked By: Blocking:


dropTargetDimensions currently use dojo.html.getBorderBox (offsetHeight/Width) to dimenision the drop target, but this means in a scrollable target only the first "page" of it can be used.

Changing it to use scrollHeight/scrollWidth (is there a dojo.html method for this?) fixes this problem.

Can be demonstrated by creating a FloatingPane? with a long list of draggable LI's. If the FP is scrolled down, nothing can be dropped below that initial page fold.

Change History (3)

comment:1 Changed 15 years ago by bill

Milestone: 0.5

comment:2 Changed 15 years ago by guest

Also see #1621

comment:3 Changed 15 years ago by Eugene Lazutkin

Resolution: fixed
Status: newclosed

Fixed in 0.9.

Note: See TracTickets for help on using tickets.