Opened 12 years ago

Closed 11 years ago

#11770 closed defect (wontfix)

StackContainer useless resize() calling

Reported by: jzi Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.5
Keywords: StackContainer TabContainer resize peroformance Cc:
Blocked By: Blocking:

Description (last modified by bill)

In use of StackContainer or TabContainer is useless call of resize() in each swich active container. If it is use in more complex widget (such as DataGrid), then selectChild() takes long time for useless resize() calling because resize() is called in rendering process. resize() is necessary to call only while first rendering or when parent widget is resized(window resize, etc).

Solution is in memorizing which cild has been resized and call resize() only when it is needed.

Attachments (1)

resize.patch (1.9 KB) - added by jzi 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by jzi

Attachment: resize.patch added


comment:1 Changed 12 years ago by bill

Description: modified (diff)

Makes sense, have you filed a CLA (or are working for a company with one)?

comment:2 Changed 11 years ago by bill

Resolution: wontfix
Status: newclosed

Closing due to lack of CLA.

Note: See TracTickets for help on using tickets.