fix(sliding): fix core gesture logic + priority configuration

fixes #14763
This commit is contained in:
Manu Mtz.-Almeida
2018-08-07 17:14:04 +02:00
parent 419ef7b836
commit a77ee2a6f8
18 changed files with 42 additions and 33 deletions

View File

@ -116,7 +116,7 @@ export class Toggle implements CheckboxInput {
el: this.el,
queue: this.queue,
gestureName: 'toggle',
gesturePriority: 30,
gesturePriority: 100,
threshold: 0,
onStart: this.onDragStart.bind(this),
onMove: this.onDragMove.bind(this),