#2629 closed bug (worksforme)
Drag & Drop: Position isn't calculated well
Reported by: | jg | Owned by: | eduardo |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.core | Version: | 1.2.3 |
Keywords: | position draggable droppable | Cc: | |
Blocked by: | Blocking: |
Description
I've got an container which is margin: auto. If I want to move my draggables into a droppable the position is wrong calculated.
maybe the problem isn't margin:auto if you want i can give you my testcase
I've used the ui files in the your repository
Attachments (2)
Change History (10)
comment:1 Changed 15 years ago by
Owner: | changed from paul to braeker |
---|
Changed 15 years ago by
Attachment: | dragNdropTestcase.zip added |
---|
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
the position is also not correct if i try to sort the products with:
$("#resultWrap").sortable({ items: 'div.productWrap' });
here the product jumps to another position if you try to sort it
comment:4 Changed 15 years ago by
Can you recheck it please with the newest revision from Subversion or 1.5b2 from the download page? Thanks!
comment:5 Changed 15 years ago by
Priority: | major → minor |
---|
Changed 15 years ago by
Attachment: | dragNdropTestcaseNew.zip added |
---|
SVN Links used for jQuery UI files
comment:6 Changed 15 years ago by
Unfortunally it's still not working. I've changed the testcase, so the current ui svn files will be used. another thing is that the drag-handler not working anymore
comment:7 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Hi jg,
I was looking your code and I believe your css is causing the problem, I've made some tests and it works in all cases. I coud check you combine a lot of unecessary properties on your css, like static positions.
Make your css more clean and test again!
Good luck :)
i've attached a the testcase i've done (tested mainly in Firefox). try to throw the products into the trashbin and you see the positions aren't calculated well. if the product is over the dropzone, the dropzone will change to green. The position of the third product is right i think. many thanks