mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
fix(refresher): using non-passive listener
This commit is contained in:
@ -98,7 +98,7 @@ export class Refresher {
|
||||
'gestureName': 'refresher',
|
||||
'gesturePriority': 10,
|
||||
'type': 'pan',
|
||||
// 'passive': false,
|
||||
'passive': false,
|
||||
'direction': 'y',
|
||||
'threshold': 0,
|
||||
'attachTo': 'body'
|
||||
|
@ -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',
|
||||
|
Reference in New Issue
Block a user