Skip to main content

Search and Top Navigation

#7104 closed bug (fixed)

Opened March 11, 2011 02:35PM UTC

Closed March 11, 2011 03:21PM UTC

Last modified March 11, 2011 03:22PM UTC

Droppable: if activeClass changes the geometry of a droppable, then dnd uses the wrong geometry.

Reported by: eleotlecram Owned by:
Priority: minor Milestone: 1.8.11
Component: ui.droppable Version: 1.8.10
Keywords: Cc:
Blocked by: Blocking:
Description

Currently the ui.ddmanager caches the geometry of all accepting and visible droppables. Unfortunately, it evaluates this geometry *prior* to setting the activeClass, and so, if setting the activeClass (as a side effect) changes the geometry, then during drag and drop, the ddmanager calculates all intersections, snapping etc. using the wrong geometry.

To show this in effect, see: http://jsbin.com/ahaze4

__

Marcel

Attachments (0)
Change History (3)

Changed March 11, 2011 02:45PM UTC by eleotlecram comment:1

Changed March 11, 2011 03:21PM UTC by Marcel Toele comment:2

resolution: → fixed
status: newclosed

Droppable: enabled and accepting droppables are now activated prior to evaluating their geometry. Fixes #7104 Droppable: if activeClass changes the geometry of a droppable, then dnd uses the wrong geometry.

(cherry picked from commit 86e6ed2eb18adcc7f9f96dc347848608cc3d3120)

Changeset: c5b0a8660a57676815901b24be84b3a4bb5a625a

Changed March 11, 2011 03:22PM UTC by scottgonzalez comment:3

milestone: 1.91.8.11