Opened 10 years ago
Closed 10 years ago
#12438 closed defect (wontfix)
Dojo Chart2D does not work fine in IE if the node was deleted from DOM and added again.
Reported by: | xiaobin | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Charting | Version: | 1.6.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
It behaves weird in IE6 (may be 7,8) when I delete the chart node and add the node to html body again.
seems the node can't be good displayed, if the node was delete from DOM and added to the DOM again.
Please see the testcase and error pic in the attachments. steps to reproduce the error
- click the delete button.
- click the add button.
Attachments (2)
Change History (6)
Changed 10 years ago by
Attachment: | dojoteset.html added |
---|
Changed 10 years ago by
comment:1 Changed 10 years ago by
Component: | General → Charting |
---|---|
Owner: | changed from anonymous to Eugene Lazutkin |
comment:2 Changed 10 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 10 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
That's "normal" behavior for IE --- DOM nodes, both HTML and VML "lose" their attributes and styles, when their parent is removed from DOM, and reinserted.
The only way to fix it is to lobby Microsoft to issue a bugfix for old browsers.
My suggestion is simple: find other ways to hide/show charts or graphical elements without removing them from DOM. If the latter is impossible for some reasons, recreate objects anew rather than reinserting old nodes.