in partnership with mediatemple

Ticket #998 (new defect)

Opened 1 week ago

Last modified 1 week ago

Sortables in 1.2b2 buggy

Reported by: marcb Owned by:
Type: defect Priority: major
Milestone: Mootools version 1.2 Component: Plugins
Keywords: Sortables scroll Cc:

Description

When attempting to sort items within a scrollable area, only the items visible at the top of the scrollable area will drag/drop properly. Once you scroll down, the 'tooltip' ghost and the drop target ghost become offset from the mouse in direct proportion to the amount of scrolling.

Example page http://drsludge.dyndns.org/sortables.html

scroll to the bottom of the list and try to drag one of the last few items. Note that the tooltip ghost is wedged at the bottom of the scroll area, and the drop target ghost is nowhere to be seen. While still dragging, pull the mouse down towards the bottom of the window, and you'll eventually see the target ghost appear.

Expected behavior should be as in r684, as found at http://www.tomocchino.com/_mootools/sort2.html where the scrolled "item 2" blue list works perfectly.

r1544 works somewhat better: the drop target follows the mouse properly, accounting for the scroll position, but the tooltip ghost is physically constrained to the original non-scrolled area of the sortable area.

Change History

Changed 1 week ago by marcb

Forgot to mention I'd tested this under FF2 and IE7 on Vista/64

Note: See TracTickets for help on using tickets.