MOBILE-3814 swipe: Limit angle on gesture
parent
ae2f087856
commit
0097b78963
|
@ -56,7 +56,9 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy {
|
|||
el: this.element,
|
||||
gestureName: 'swipe',
|
||||
threshold: 10,
|
||||
direction: 'x',
|
||||
gesturePriority: 10,
|
||||
maxAngle: 20,
|
||||
canStart: () => this.enabled,
|
||||
onStart: () => {
|
||||
style.transition = '';
|
||||
|
|
Loading…
Reference in New Issue