Laya.List.selectHandler执行时机有BUG
Rotanticu opened this issue · 0 comments
Rotanticu commented
selectHandler执行时机在selectedIndex的set里,结果如果selectedIndex没有发生变化,(对应点击同一个cell)就不会走set,也就不会走selectHandler
if (this._selectedIndex !=value){
this._selectedIndex=value;
this.changeSelectStatus();
this.event(/*laya.events.Event.CHANGE*/"change");
this.selectHandler && this.selectHandler.runWith(value);
this.startIndex=this._startIndex;
}