Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#99 closed defect (fixed)

Drag & Drop w/absolute positioning is broken

Reported by: billk@… Owned by: alex
Priority: high Milestone:
Component: Core Version: 0.1
Keywords: drag Cc:
Blocked By: Blocking:

Description

I have a web page where the drag & drop zone are positioned absolutely. (Is it possible to attach testcases to this bug database ??? If not, I can mail you the testcase.)

  1. The drop zone doesn't accept the draggable
  2. When you release the draggable it slides back to the wrong position
  3. When you release a draggable, the style information should be restored to it's original value. However, it is set to position=absolute (regardless of the original setting) This causes problems during scrolling, window resize, etc.

Attachments (3)

absolutednd.html (1.2 KB) - added by anonymous 14 years ago.
absolutednd.2.html (1.3 KB) - added by billk@… 14 years ago.
Absolute positioning testcase (revised)
tablednd.html (1.2 KB) - added by billk@… 14 years ago.
Table testcase (works better than absolute but still breaks in IE)

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by anonymous

Attachment: absolutednd.html added

Changed 14 years ago by billk@…

Attachment: absolutednd.2.html added

Absolute positioning testcase (revised)

Changed 14 years ago by billk@…

Attachment: tablednd.html added

Table testcase (works better than absolute but still breaks in IE)

comment:1 Changed 14 years ago by schontz@…

Keywords: drag added

The system should use advantage of dojo.xml.htmlUtil.getStyle instead of setting the values to null.

comment:2 Changed 14 years ago by alex

Milestone: 0.2release
Status: newassigned

comment:3 Changed 14 years ago by anonymous

Priority: normalhigh

comment:4 Changed 14 years ago by alex

Resolution: fixed
Status: assignedclosed

These issues all appear to be fixed in the attached test files on IE and Firefox. Inspection with the DOM Inspector verifies the fix for the 3rd issue. Absolutely positioned draggables seem to be having problems in Safari, but I think that's a different bug.

Closing as fixed.

comment:5 Changed 13 years ago by (none)

Milestone: 0.2release

Milestone 0.2release deleted

Note: See TracTickets for help on using tickets.