ExtJS 7卡布局幻灯片动画-BUG setActiveItem
我自己的组件有以下配置。当我输入信息“component”.setActiveItem(页面索引)时。它向我显示了错误的内容。仅当我使用此设置时才会发生这种情况:ExtJS 7卡布局幻灯片动画-BUG setActiveItem,extjs,extjs7,Extjs,Extjs7,我自己的组件有以下配置。当我输入信息“component”.setActiveItem(页面索引)时。它向我显示了错误的内容。仅当我使用此设置时才会发生这种情况: layout: { type: "card", animation: { type: "slide", direction: "horizontal" } } 如果我使用配置: layout: "card&quo
layout: {
type: "card",
animation: {
type: "slide",
direction: "horizontal"
}
}
如果我使用配置:
layout: "card"
它工作得很好。问题发生在布局动画中
以下是一个例子:
Ext.define("App.empresas.Form.view", {
extend: "Ext.Panel",
xtype: "empresas-form",
layout: {
type: "card",
animation: {
type: "slide",
direction: "down"
}
},
items : [{
xtype: "formpanel",
reference: "form",
items: [/*fields config*/]
},{
xtype: "grid",
title: "Contatos",
reference: "contatos",
layout: "fit",
markDirty: true,
sortable: true,
grouped: false,
scrollable: true,
enableColumnMove: false,
/* more grid config...*/
},{
xtype: "grid",
title: "Endereços",
reference: "enderecos",
layout: "fit",
markDirty: true,
sortable: true,
grouped: false,
scrollable: true,
enableColumnMove: false,
/* more grid config...*/
},{
xtype: "grid",
title: "Pessoas por endereços",
reference: "pessoas",
layout: "fit",
markDirty: true,
sortable: true,
grouped: false,
scrollable: true,
enableColumnMove: false,
collapsible: "bottom",
/* more grid config...*/
}],
buttons: [{
/* buttons config...*/
}]
});
提琴样品怎么样?