Nested tab container and title pane bug
Steps to reproduce:
- Load dijit/tests/layout/test_TabContainerTitlePane.html
- that Tab 3 and Tab 4 (nested inside the titlepane) are rendering content.
- Minimize the title pane
- Click on Tab 2
- Click back on Tab1
- Maximize the title pane
Notice that Tab 3 and Tab 4 are no longer rendering their content.
Change History (5)
Component: |
General →
Dijit
|
Milestone: |
tbd →
1.6
|
Status: |
new →
assigned
|
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Good catch. When "tab 1" is selected TabContainer calls TitlePane.resize() (which is really ContentPane.resize()), and even though the TitlePane is closed ContentPane.resize() tries to resize() it's children.
Besides that bug, there's another problem that opening the TitlePane doesn't resize() the children, even though this may be their first chance to layout. Changing the test case to make the TitlePane initially closed shows this problem.