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

@ -14,9 +14,9 @@
}
},
"@stencil/core": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-0.1.2.tgz",
"integrity": "sha512-UsrSb0xokn90WDG66rx3ix5/J+ueCYt7VEcho+r1Ed63I793w719AZwxXmPAhFIqbiVbMZXlQqK6Pj2ixamC1A==",
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-0.1.5.tgz",
"integrity": "sha512-jedN0SC0We8FaVbORzlpj5OkC+7GAQ4igvjwm9WK6NksSMyJ9jXtSst4Yq9AWL/gzjf+zQ9TG7L/hRx8aK7mVA==",
"dev": true,
"requires": {
"chokidar": "1.7.0",

View File

@ -9,7 +9,7 @@
"dist/"
],
"devDependencies": {
"@stencil/core": "0.1.2",
"@stencil/core": "0.1.5",
"@stencil/dev-server": "0.0.18",
"@stencil/utils": "latest",
"@types/jest": "^21.1.6",

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',