PDA

View Full Version : [2.0b1] Panel hideMode not honoured while creating



Animal
23 Oct 2007, 7:14 AM
When a Window is first created, before its first show() call, the hide mode of its element does not match that specified in the config.

Once it's been shown, then hiding it using hide() uses the correct mode, but the first showing shows from a display:none state.

This means a lot of measuring code will not work.

http://extjs.com/forum/attachment.php?attachmentid=2280&stc=1&d=1193152409

Animal
23 Oct 2007, 7:25 AM
Actually, the culprit is Window.animShow()

If you show a window from an element, it breaks the hideMode.