Skip to main content

Bug Tracker

Side navigation

#1632 closed bug (wontfix)

Opened September 17, 2007 02:59AM UTC

Closed September 18, 2007 10:34AM UTC

Last modified April 04, 2008 10:33PM UTC

dragging table rows doesn't quite work

Reported by: crayz Owned by: paul
Priority: minor Milestone: 1.2.1
Component: ui Version: 1.2
Keywords: draggable Cc:
Blocked by: Blocking:
Description

Testing out the draggable/droppable, it doesn't seem to work correctly dragging table rows. The dragging animation itself seems to work fine, but it appears to not correctly track the position of the dragged row vs. the position of the droppable

I have some example code here: http://pastie.caboo.se/97817

In my browser(FF 2.0.0.5 on Linux), the draggable div can be dragged as expected into either the top or bottom droppable div. However the draggable table row can't be dragged into the top droppable at all - it can be dragged into the bottom droppable, but the place where it activates is incorrect(I've noted the place where it activates in my browser with the text "tr drop")

Interestingly enough I get the same results in Opera 9.21

Attachments (0)
Change History (2)

Changed September 18, 2007 10:34AM UTC by paul comment:1

resolution: → wontfix
status: newclosed

Hi, all mouse interaction and effects don't work reliable with table elements. This is something that cannot easily fixed, since tables have a own display model that differs from the normal box-level model.

So try not make tables draggable (I tried it before, it's no fun) and instead go for div's. Thanks.

Changed April 04, 2008 10:33PM UTC by Markus.Staab comment:2