Opened 15 years ago
Closed 14 years ago
#423 closed defect (wontfix)
dnd float attribute should get wiped in FloatingPane
Reported by: | Owned by: | bill | |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Widgets | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Especially bad in ie, but the float right messes up on the float:right attribute. The FloatPane? goes to the far right, the 'I am going here' line is wrong, and the chunk doesn't drop in the proper place.
Replacing /path/to/dojo in the below file, should duplicate the problem
<script type="text/javascript" src="/path/to/dojo/dojo.js"></script> <script type="text/javascript"> dojo.require("dojo.dnd.*"); dojo.require("dojo.event.*"); function byId(id){ return document.getElementById(id); } function init(){ for(var i=0;i<3;i++) { var dl = byId("dragList"+i); new dojo.dnd.HtmlDropTarget(dl, ["div"]); var lis = dl.getElementsByTagName("div"); for(var x=0; x<lis.length; x++){ if(!lis[x].id) continue; new dojo.dnd.HtmlDragSource(lis[x], null, lis[x].firstChild); } } } dojo.event.connect(dojo, "loaded", "init"); </script> <table width=100%> <tr valign=top> <td> <div id="dragList0" width=50%> <div id=joe> <div style='float:right'>right 0</div> <div>left 0</div> </div> </div> </td> <td> <div id="dragList1" width=50%> <div id=joe> <div style='float:right'>right 1</div> <div>left 1</div> </div> </div> </td> </tr> </table>
Change History (2)
comment:1 Changed 15 years ago by
Component: | General → Widgets |
---|---|
Milestone: | → 0.6 |
Owner: | changed from anonymous to bill |
comment:2 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
FloatingPane? itself not supported in Dijit, and also, if a FloatingPane? is set to float: right then it can't really be dragged.