Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#724 closed defect (fixed)

TabContainer lazy loading broken

Reported by: bill Owned by: neil
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

All tabs are loaded on page display, even the hidden (non-selected) tabs. I think this used to work but not sure.

Problem is that ContentPane? calls isShowing() in ContentPane?.postCreate(), before TabContainer? is able to hide the tabs.

Workaround: set display:none on your tab children.

See tests/widget/test_tabContainer_lazyLoad.html for testcase.

Attachments (1)

test_TabContainer_lazyLoad_trac_724.html (1.8 KB) - added by neil 13 years ago.
On Opera, experience a layout problem that is resolved by the supplied testcase

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by neil

Owner: changed from anonymous to neil

comment:2 Changed 13 years ago by neil

this testcase scenario cannot be reproduced as described with current dojo snapshot. On Opera, experience a layout problem that is resolved by the supplied testcase. testcase: test_TabContainer_lazyLoad_trac_724.html (removed workaround described in Trac description). To be used from $DOJO_ROOT/tests/widget directory

Tested against ie, FF and opera browser environments

Changed 13 years ago by neil

On Opera, experience a layout problem that is resolved by the supplied testcase

comment:3 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed

OK, thanks.

comment:4 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.