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

老哥,出出出大BUG啦 #18

Open
senson2018 opened this issue Nov 30, 2018 · 0 comments
Open

老哥,出出出大BUG啦 #18

senson2018 opened this issue Nov 30, 2018 · 0 comments

Comments

@senson2018
Copy link

用谷歌浏览器打开F12调试发现没有问题,然后用手机微信打开,发现点击文本框并不会弹出键盘,看了一下,是因为我使用了ydui.js这个插件导致的,里面使用了FastClick这个防止300秒延迟的东东,辣么问题来了,,有神马方法可以兼容这个东西吗?
我在其他页面使用过禁用FastClick这个东东的方法,不知道在这里可行否?
下面代码:
var notNeed = FastClick.notNeeded(document.body);
$.fn.triggerFastClick=function(){
this.trigger("click");
if(!notNeed){
this.trigger("click");
}
}

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

No branches or pull requests

1 participant