Skip to main content

Search and Top Navigation

#2629 closed bug (worksforme)

Opened April 01, 2008 02:05PM UTC

Closed May 21, 2008 04:02AM UTC

Last modified May 24, 2008 03:39AM UTC

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:

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 (0)
Change History (8)

Changed April 01, 2008 06:43PM UTC by paul comment:1

owner: paulbraeker

Changed April 02, 2008 09:30AM UTC by jg comment:2

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

Changed April 02, 2008 11:29AM UTC by jg comment:3

the position is also not correct if i try to sort the products with:

  items: 'div.productWrap'

here the product jumps to another position if you try to sort it

Changed May 03, 2008 07:23AM UTC by paul comment:4

Can you recheck it please with the newest revision from Subversion or 1.5b2 from the download page? Thanks!

Changed May 04, 2008 08:26AM UTC by paul comment:5

priority: majorminor

Changed May 07, 2008 01:14PM UTC by jg comment:6

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

Changed May 21, 2008 04:02AM UTC by braeker comment:7

resolution: → worksforme
status: newclosed

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 :)

Changed May 24, 2008 03:39AM UTC by comment:8

milestone: 1.2.4

Milestone 1.2.4 deleted