Ticket #5003 (closed bug: fixed)

Opened 5 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

Description

To recreate:

  1. Go to  http://jqueryui.com/demos/droppable/
  2. Drag the draggable box below the containing box to trigger a vertical scroll bar
  3. Return the draggable box up to the target and release
  4. Nothing happens
  5. Move the box another tiny bit and now it works

Movie attached of bug for clarify

Attachments

bug.zip Download (200.8 KB) - added by HershelSR 5 years ago.

Change History

Changed 5 years ago by HershelSR

comment:1 Changed 5 years ago by olafschneider

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.

comment:2 Changed 5 years ago by joern.zaefferer

  • Priority changed from minor to major
  • Milestone changed from TBD to 1.8

comment:3 Changed 3 years ago by kborchers

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:4 Changed 3 years ago by Scott González

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

comment:5 Changed 3 years ago by kborchers

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

comment:6 Changed 3 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.14
Note: See TracTickets for help on using tickets.