GComboBox中的Glist设置虚拟列表报错

export class EGComboBox extends fairygui.GComboBox{
public constructor() {
super();
}

protected constructFromXML(xml: any): void {
super.constructFromXML(xml);
this._list.setVirtual();
}

堆栈报错
LogError:Windex.error:
TypeError: Cannot read property 'updateFlag' of undefined
at GList.handleScroll1 (http://127.0.0.1:5521/libs/fai ... 329:24)
at GList.handleScroll (http://127.0.0.1:5521/libs/fai ... 196:22)
at GList._refreshVirtualList (http://127.0.0.1:5521/libs/fai ... 068:18)
at GTimers.__timer (http://127.0.0.1:5521/libs/fai ... 434:39)
at SystemTicker.update (http://127.0.0.1:5521/libs/mod ... 048:41)
at onTick (http://127.0.0.1:5521/libs/mod ... 677:24) at (e:\lwtz_h5\cdcq1_h5_game\CrowsZero1\libs\modules\egret\egret.js:14150:26)
已邀请:

谷主

赞同来自:

GComboBox不支持虚拟列表。自己做一个popup就是了。

要回复问题请先登录注册