ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

[RadListView] on swiped actions tap triggers also itemTap #1434

Open Stanteq opened 4 years ago

Stanteq commented 4 years ago

I have an issue on iOS

"tns-ios": {
      "version": "6.5.1"
    }

...

"nativescript-ui-listview": "^8.2.0",
"nativescript-angular": "^8.21.0",
"tns-core-modules": "^6.5.7",

When is tapped on swiped action then is triggers itemTap($event) first and delete($event) after.

 <RadListView
    [items]="items"
    (itemTap)="itemTap($event)"
    class="list-group"
    (itemSwipeProgressEnded)="itemSwipeProgressEnded($event)"
    (itemSwipeProgressStarted)="itemSwipeProgressStarted($event)"
    (itemSwipeProgressChanged)="itemSwipeProgressChanged($event)"
    [swipeActions]="true"
  >
    <ng-template tkListItemTemplate let-item="item">
      <StackLayout class="list-group-item">
        <Label text="test"></Label>
      </StackLayout>
    </ng-template>

    <GridLayout *tkListItemSwipeTemplate>
      <GridLayout id="swipe-actions" columns="64">
        <GridLayout
          class="swipe-action swipe-action-delete"
          (tap)="delete($event)"
        >
          <Label text="delete"> </Label>
        </GridLayout>
      </GridLayout>
    </GridLayout>
  </RadListView>
Stanteq commented 4 years ago

I notice this happen more often on simulator when is made a quick click