Opened 16 years ago

Closed 15 years ago

#600 closed defect (wontfix)

unordered lists using dojo.dnd don't have the right appearance during drag if in a FloatPane

Reported by: [email protected] Owned by: anonymous
Priority: low Milestone: 0.9
Component: Widgets Version: 0.2
Keywords: Cc:
Blocked By: Blocking:


The insert point and the 50% alpha don't show up.

<html> <head> <script type="text/javascript">

var djConfig = {isDebug: true, debugAtAllCosts: true};

</script> <script language="JavaScript?" src="/dojo/dojo.js"></script> </head> <body style=" background: #10285A"> <script language="JavaScript?">

dojo.require("dojo.fx.html"); dojo.require("dojo.widget.*"); dojo.require("dojo.widget.TaskBar?"); dojo.require("dojo.widget.LayoutPane?"); dojo.require("dojo.widget.FloatingPane?"); dojo.require("dojo.widget.ResizeHandle?");

dojo.require("dojo.dnd.*"); dojo.require("dojo.event.*"); function byId(id) {

return document.getElementById(id);

} function init() {

var dl = byId("weeklylist"); new dojo.dnd.HtmlDropTarget?(dl, li1?); var lis = dl.getElementsByTagName("li"); for(var x=0; x<lis.length; x++){

new dojo.dnd.HtmlDragSource?(lis[x], "li1");


} dojo.event.connect(dojo, "loaded", "init");


<div dojoType="TaskBar?" id="mytaskbar" hasShadow="false"

style="width: 96%; height: 35px; bottom: 10px; left: 2%">

</div> <div dojoType="FloatingPane?"

id="MyFloat?" title="My Window" constrainToContainer="true" hasShadow="false" resizable="true" taskBarId="mytaskbar" windowState="minimized"; displayCloseAction="false"; displayMinimizeAction="true" displayMaximizeAction="true"


style="width: 500px; height: 400px; left: 350px; top: 50px; display: none;">

<ul id="weeklylist">

<li>This list</li> <li>is out of order</li> <li>but it can</li> <li>be reordered</li> <li>using</li> <li>and</li> <li>drop</li> <li>drag</li>

</ul> </div> </body> </html>

Change History (4)

comment:1 Changed 16 years ago by alex

Milestone: 0.2.2release0.3release

moving to correct milestone

comment:2 Changed 16 years ago by sjmiles

Milestone: 0.3release0.4

comment:3 Changed 15 years ago by dylan

Milestone: 0.40.5

comment:4 Changed 15 years ago by bill

Resolution: wontfix
Status: newclosed

Not sure if this is an issue anymore, since FloatingPane? is being replaced by Dialog, and DnD was completely rewritten, but I'm going to close the bug because I don't really want to support DnD inside of a Dialog.

Note: See TracTickets for help on using tickets.