#4696 closed bug (wontfix)
Bug with revert and grid : the element goes back to a bad position
Reported by: | yotsumi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.9.0 |
Component: | ui.draggable | Version: | 1.7.2 |
Keywords: | grid, revert | Cc: | |
Blocked by: | Blocking: |
Description
I have find a bug on the ui.draggable component which appears when i use the options grid and revert.
When you move the draggable element, the first time it goes back to its initial position, but after, he goes back to a bad position ( a little gap ).
I see it on Firefox 3.5, Firefox 3.1, IE8, IE7 ...
See the example below
Attachments (2)
Change History (7)
Changed 14 years ago by
Attachment: | bug jquery ui.rar added |
---|
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Milestone: | TBD → 1.8 |
---|
comment:3 Changed 13 years ago by
I confirm:
adding
this.originalPageX=a.pageX;this.originalPageY=a.pageY;
before or after
this.originalPosition=this.position=this._generatePosition(a);
in JQuery UI Draggable fixes the problem. This exact code is present in JQuery UI Sortable but seems to be missing in Draggable.
comment:4 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
These options won't exist in the rewrite.
I think that this error can be resolved by making the following modification, but don't ask me how's that work!
In ui.draggable