Skip to main content

Search and Top Navigation

#5003 closed bug (fixed)

Opened December 12, 2009 06:45PM UTC

Closed May 27, 2011 07:29PM UTC

Last modified May 27, 2011 07:37PM UTC

Scroll on Droppable Demo Breaks Demo

Reported by: HershelSR Owned by:
Priority: major Milestone: 1.8.14
Component: ui.droppable Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

To recreate:

1. Go to http://jqueryui.com/demos/droppable/

1. Drag the draggable box below the containing box to trigger a vertical scroll bar

1. Return the draggable box up to the target and release

1. Nothing happens

1. Move the box another tiny bit and now it works

Movie attached of bug for clarify

Attachments (1)
  • bug.zip (200.8 KB) - added by HershelSR December 12, 2009 06:45PM UTC.
Change History (6)

Changed December 17, 2009 11:01AM UTC by olafschneider comment:1

The option refreshPositions helps:

$('#draggable').draggable('option', 'refreshPositions', true);

Anyway it should be considered to take this example as a use case for the option refreshPositions.

The part of the current documentation ”… This solves issues on highly dynamic pages …“ is not very specific.

Changed January 15, 2010 11:00AM UTC by jzaefferer comment:2

milestone: TBD1.8
priority: minormajor

Changed May 27, 2011 07:29PM UTC by kborchers comment:3

resolution: → fixed
status: newclosed

Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo

Changeset: 67bd872fe1f8c4763d646f4eca852777e6f7a126

Changed May 27, 2011 07:29PM UTC by Scott González comment:4

Merge pull request #352 from kborchers/bug_5003_3

Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo

Changeset: 12f73d623e54a37cc347f48db4c7dea23648ba1e

Changed May 27, 2011 07:36PM UTC by kborchers comment:5

Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo

(cherry picked from commit 67bd872fe1f8c4763d646f4eca852777e6f7a126)

Changeset: ce2fbb9429dd5fcaf80b1f3eef3d922b7ca06ec8

Changed May 27, 2011 07:37PM UTC by scottgonzalez comment:6

milestone: 1.91.8.14