Nativescript Angular - 无法在 RadListView 的第一个项目上触发 itemSelected

Nativescript Angular - Cannot trigger itemSelected on the first item on a RadListView

请帮忙! 我无法在 IOS 上单击 radlistview 中的第一个项目(未触发 onItemSelected),但它在 android.

上工作正常

我的代码:

<GridLayout class="p-x-10">
  <RadListView
    class="users"
    loadOnDemandMode="Auto"
    pullToRefresh="true"
    selectionBehavior="Press"
    [items]="userPaginator.docs"
    (itemSelected)="onItemSelected($event)"
    (loadMoreDataRequested)="onLoadMoreItemsRequested($event)"
    (pullToRefreshInitiated)="onPullToRefreshInitiated($event)"
    >
    <ng-template tkListItemTemplate let-item="item">
      <StackLayout orientation="vertical" class="users__card">
        <Label class="users__card-name" [text]="item.name"></Label>
        <Label class="users__card-username" [text]="item.username"></Label>
        <Label class="users__card-userId" [text]="item.userId"></Label>
        <Label class="users__card-email" [text]="item.email"></Label>
        <Label class="users__card-phone" [text]="item.phone"></Label>
      </StackLayout>
    </ng-template>

  </RadListView>
  <ActivityIndicator
    rowSpan="1"
    [busy]="isPageLoading"
    [visibility]="isPageLoading ? 'visible' : 'collapse'"
    horizontalAlignment="center"></ActivityIndicator>

</GridLayout>

您可以使用 StackLayout 的点击事件代替 OnItemSelected

<StackLayout orientation="vertical" class="users__card" (tap)="onItemSelected($event)">