如何摆脱cick延迟。在Ipad中需要2秒钟

时间:2017-09-19 09:54:23

标签: ionic-framework ionic2 ionic3

这是我的示例代码,更改发生需要2秒钟

<ion-row *ngFor="let week of month.fullweeks; let weekindex =index" style="margin-bottom:5px;">
                      <ion-col *ngFor="let day of week;let i = index" tappable (click)="selectday(day,monthindex,i,weekindex)" >
                        <div class="day"  [ngClass]="{'startactive':(day.style == 1),'finishactive':(day.style == 2)}" ><div *ngIf="day.day != 0" >{{day.day}}</div></div>
                      </ion-col>
                    </ion-row>

1 个答案:

答案 0 :(得分:0)

通过更新Ionic Sc​​ripts而不是使用内联css

来管理解决此问题