Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aui-pull-refresh.js #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhangjiangpo
Copy link

throttle 没有起作用

throttle 没有起作用
@lifetin
Copy link

lifetin commented Apr 25, 2019

最好还是给他加个参数

this.container.addEventListener( 'touchstart', this.touchStart.bind( this ), {
		passive: false
	} );
	this.container.addEventListener( 'touchmove', this.touchMove.bind( this ), {
		passive: false
	} );
	this.container.addEventListener( 'touchend', this.touchEnd.bind( this ), {
		passive: false
	} );

这个{ passive: false
}

如果是在body上加的.则会出现这样的问题
https://blog.csdn.net/qq_38387487/article/details/79611466?utm_source=blogxgwz2
加了后就正常了, 小米手机上遇到的.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants