Opened 12 years ago

Last modified 12 years ago

#10804 closed defect

[Regression] dijit.Dialog in 1.4 is unable preload internal Grids — at Initial Version

Reported by: Phil DeJarnett Owned by: anonymous
Priority: high Milestone: tbd
Component: Dijit Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description

dijit.Dialog on 1.3 would hide the dialog by moving it off screen and setting the visibility to "hidden". This allowed complex internal widgets (such as DataGrids?) to preload out of sight.

In 1.4, for some reason the postCreate method now sets display to "none". This prevents widgets from being able to be loaded off screen. Grids initialize to a height of 0, for example.

My usual usage:

var d = new dijit.Dialog({ href: someUrl });
// initialize the dialog off-screen
d.startup();

Then the dialog is ready to be shown without the ugly "pop" of widgets being rendered.

I now have to manually change the style, perform the startup, and then revert the style.

Change History (0)

Note: See TracTickets for help on using tickets.