fix(refresher): using non-passive listener

This commit is contained in:
Manu Mtz.-Almeida
2018-01-16 17:12:48 +01:00
parent 6d0311b5e1
commit 802b540741
4 changed files with 7 additions and 6 deletions

View File

@ -98,7 +98,7 @@ export class Refresher {
'gestureName': 'refresher',
'gesturePriority': 10,
'type': 'pan',
// 'passive': false,
'passive': false,
'direction': 'y',
'threshold': 0,
'attachTo': 'body'

View File

@ -266,12 +266,13 @@ export class ReorderGroup {
render() {
return (
<ion-gesture {...{
disableScroll: true,
canStart: this.canStart.bind(this),
onStart: this.onDragStart.bind(this),
onMove: this.onDragMove.bind(this),
onEnd: this.onDragEnd.bind(this),
enabled: this.enabled,
passive: false,
disableScroll: true,
gestureName: 'reorder',
gesturePriority: 30,
type: 'pan',