Skip to content
Permalink
Browse files

fix(reorder): Allow sliding items to be reordered (#17568)

to allow item-sliding items to be reordered
  • Loading branch information...
sbannigan authored and liamdebeasi committed Feb 22, 2019
1 parent c49276c commit 3b331b521610842ebb8a05bee76b1567e6071450
@@ -67,7 +67,7 @@ export class ReorderGroup implements ComponentInterface {
el: this.doc.body,
queue: this.queue,
gestureName: 'reorder',
gesturePriority: 90,
gesturePriority: 110,
threshold: 0,
direction: 'y',
passive: false,
@@ -34,12 +34,22 @@
<ion-reorder slot="end"></ion-reorder>
</ion-item>

<ion-item button onclick="openAlert()">
<ion-label>
Item 2 (default ion-reorder)
</ion-label>
<ion-reorder slot="end"></ion-reorder>
</ion-item>
<ion-item-sliding>
<ion-item button onclick="openAlert()">
<ion-label>
Item 2 (default ion-reorder with ion-item-sliding)
</ion-label>
<ion-reorder slot="end"></ion-reorder>
</ion-item>
<ion-item-options side="start">
<ion-item-option>Favorite</ion-item-option>
<ion-item-option color="danger">Share</ion-item-option>
</ion-item-options>

<ion-item-options side="end">
<ion-item-option>Unread</ion-item-option>
</ion-item-options>
</ion-item-sliding>

<ion-item button onclick="openAlert()">
<ion-label>

0 comments on commit 3b331b5

Please sign in to comment.
You can’t perform that action at this time.