#7104 closed bug (fixed)
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
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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
comment:3 Changed 12 years ago by
Milestone: | 1.9 → 1.8.11 |
---|
Sent a pull request: https://github.com/jquery/jquery-ui/pull/150