Skip to main content

Search and Top Navigation

#15166 closed bug (fixed)

Opened April 18, 2017 01:30AM UTC

Closed May 02, 2017 06:03PM UTC

Last modified May 02, 2017 07:10PM UTC

Helper/Item Overlap Detection Out of Alignment After Scroll

Reported by: borgboyone Owned by: scottgonzalez
Priority: minor Milestone: 1.12.2
Component: ui.sortable Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:
Description

After a sortable container is scrolled via helper drag activity, movement of the helper results in the placeholder being rearranged to an item that is not under the helper but to an item the same distance away as the scrolled distance. Continued helper drag activity results in a reset of positions and overlap detection returns to normal until scrolling is commenced again.

http://stackoverflow.com/questions/41261182/jquery-ui-sortable-drop-area-is-not-detected-properly-if-scrolling-and-connectw

Attachments (0)
Change History (3)

Changed April 19, 2017 01:02AM UTC by borgboyone comment:1

description: After a sortable container is scrolled via helper drag activity, movement of the helper results in the placeholder being rearranged to an item that is not under the helper but to an item the same distance away as the scrolled distance. Continued helper drag activity results in a reset of positions and overlap detection returns to normal until scrolling is commenced again. \ \ <jsFiddle link here> \ \ <StackOverflow references here> \ After a sortable container is scrolled via helper drag activity, movement of the helper results in the placeholder being rearranged to an item that is not under the helper but to an item the same distance away as the scrolled distance. Continued helper drag activity results in a reset of positions and overlap detection returns to normal until scrolling is commenced again. \ \ [http://stackoverflow.com/questions/41261182/jquery-ui-sortable-drop-area-is-not-detected-properly-if-scrolling-and-connectw] \

Changed May 02, 2017 06:03PM UTC by scottgonzalez comment:2

owner: → scottgonzalez
resolution: → fixed
status: newclosed

In [changeset:"c866e455373028a62a0956455a229fef63e91fac" c866e45]:

#!CommitTicketReference repository="" revision="c866e455373028a62a0956455a229fef63e91fac"
Sortable: Fix various scrolling issues

* Created _scroll extension point and migrated scroll code from _mouseDrag
* Cleaned up logic for scrolled
* Fixed appendTo functionality to match documentation
* Remove unnecessary function calls
* Move set-up position functions to appropriate place
* Base scrollParent on placeholder and not helper
* Update scrollParent when switching containers

Fixes #3173
Fixes #15165
Fixes #15166
Fixes #15167
Fixes #15168
Fixes #15169
Fixes #15170
Closes gh-1793

Changed May 02, 2017 07:10PM UTC by scottgonzalez comment:3

milestone: none1.12.2