fix(gestures): change itemSliding gesture priority

Closes #15608
This commit is contained in:
mhartington
2018-09-18 17:34:34 -04:00
parent 407b14778d
commit 48927e616f
3 changed files with 13 additions and 2 deletions

View File

@ -73,7 +73,7 @@ export class ItemSliding implements ComponentInterface {
el: this.el,
queue: this.queue,
gestureName: 'item-swipe',
gesturePriority: 20,
gesturePriority: 100,
threshold: 5,
canStart: () => this.canStart(),
onStart: () => this.onStart(),

View File

@ -49,6 +49,17 @@
<ion-button class="next">Go to Page Two</ion-button>
</ion-nav-push>
</div>
<ion-list>
<ion-item-sliding>
<ion-item>Some item</ion-item>
<ion-item-options>
<ion-item-option>
Some options
</ion-item-option>
</ion-item-options>
</ion-item-sliding>
</ion-list>
</ion-content>
`;
}