Skip to main content

Search and Top Navigation

#2601 closed bug (worksforme)

Opened March 27, 2008 08:17PM UTC

Closed March 27, 2008 08:36PM UTC

Last modified May 24, 2008 03:39AM UTC

If a droppable is enlarged while dragging, can't drop in new 'space'

Reported by: acheetham Owned by: paul
Priority: major Milestone:
Component: ui.core Version: 1.2.3
Keywords: Cc: a.cheetham@utoronto.ca
Blocked by: Blocking:
Description

Note: This bug was observed in a version of jquery.ui trunk checked out March 25.

If a droppable is enlarged when dragging over it (e.g. by an activeClass that sets a new size, or by any other means) the draggable cannot be dropped into the area of the droppable that was not there originally.

How to repeat:

  • add "height: 400px;" to the .silver class in the demo file (ui.droppable.html) to increase it's height:
.silver {
	background-color: #fafafa;
	border-color: silver;
	height: 400px;
}

Drag the draggable over the bottom half of the enlarged droppable and let go. It will not drop. It still works if you drop it onto the top half of the droppable (i.e. the original area).

Attachments (0)
Change History (2)

Changed March 27, 2008 08:36PM UTC by scottgonzalez comment:1

resolution: → worksforme
status: newclosed

You'll want to use the refreshPositions option on your draggable elements. I've created ticket #2603 to make sure this option gets documented.

Changed May 24, 2008 03:39AM UTC by comment:2

milestone: 1.2.4

Milestone 1.2.4 deleted