-
[2.3+] the BUG of TabPanel.render()
[2.3+] the BUG of TabPanel.render()
the defaultValue of TabPanel.activeTab is null ,
but activeTab is Checked with "!== undefined" in render() method :
if(this.activeTab !== undefined){
var item = this.activeTab;
delete this.activeTab;
this.setActiveTab(item);
}
so , this.setActiveTab(null) will be called, then throw Exception.
i think codes below is better:
if(this.activeTab || this.activeTab === 0 ){
var item = this.activeTab;
delete this.activeTab;
this.setActiveTab(item);
}
-
Sencha User
Any status on this? I just grabbed the latest (2.3.0/5511) and bug still there.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us