Opened 9 years ago
Last modified 9 years ago
#9974 open bug
Draggable: scrolling while dragging causes grid misalignment
Reported by: | jribble | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.draggable | Version: | git (not yet released) |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See the issue in this jsfiddle: http://jsfiddle.net/jribble/MLcCc/2/
If the div scrolls while dragging the box you will see that the box stops aligning to the grid lines.
Change History (4)
comment:1 Changed 9 years ago by
Status: | new → open |
---|
comment:2 Changed 9 years ago by
I created a unit test and a proposed fix in pull request https://github.com/jquery/jquery-ui/pull/1226
comment:3 Changed 9 years ago by
I just noticed another related problem - if you start dragging when the scroll position is misaligned from the grid the element becomes misaligned from the grid.
comment:4 Changed 9 years ago by
Okay, I've updated my pull request with a test and fix for this problem as well. It's a more significant change, but all of the tests do pass and my fiddle works using these changes.
Thanks for putting this in its own ticket jribble.