Opened 10 years ago

Closed 10 years ago

#9345 closed defect (fixed)

TabContainer: causing ContentPane to refresh on browser resize

Reported by: sgourley Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

http://www.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/bug-dijit-layout-tabcontainer-causing-dijit-layout-contentpane-r

I tried the css

html, body, #mainDiv {

width: 100%; height: 100%; border: 0; padding: 0; margin: 0;

}

trick and it doesn't seem to work.

Attachments (1)

9345.html (1.4 KB) - added by sgourley 10 years ago.
html file

Download all attachments as: .zip

Change History (5)

comment:1 Changed 10 years ago by bill

Please attach a small test case (full HTML file) using the "Attach file" button.

Changed 10 years ago by sgourley

Attachment: 9345.html added

html file

comment:2 in reply to:  1 Changed 10 years ago by sgourley

Replying to bill:

Please attach a small test case (full HTML file) using the "Attach file" button.

Done... does that work for you?

comment:3 Changed 10 years ago by bill

Milestone: tbd1.4
Owner: set to bill
Status: newassigned
Summary: dijit.layout.tabcontainer causing dijit.layout.contentpane to refresh on browser resizeTabContainer: causing ContentPane to refresh on browser resize

Yup, that's a good testcase, thanks.

Note to self: For some reason TabContainer.layout() is calling _showChild() even though that's [not always] appropriate.

comment:4 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [17858]) Remove seemingly unnecessary call to show a child which is presumably already shown. Fixes spurious href-download on ContentPane? when resizing a page that contains a TabContainer?. Fixes #9345 !strict.

Note: See TracTickets for help on using tickets.