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

content中input无法输入 #11

Open
jsoncode opened this issue May 3, 2018 · 3 comments
Open

content中input无法输入 #11

jsoncode opened this issue May 3, 2018 · 3 comments

Comments

@jsoncode
Copy link

jsoncode commented May 3, 2018

$(document).dialog({
    type: 'alert',
    overlayClose: true,
    content: '<div><input type="text"></div>'
});
@shanghen
Copy link

shanghen commented Jun 1, 2018

我也发现的这个问题,去看了下源码发现作者在touch事件和mouse时间都返回了false,导致content-scroll类下的点击事件全部无效。如果还坚持使用该插件可以
$(document).off('touchstart mousedown touchmove mousemove touchend mouseup', '.content-scroll');
解除了事件绑定即可

@cyh1998
Copy link

cyh1998 commented Jul 17, 2019

$(document).off('touchstart mousedown touchmove mousemove touchend mouseup', '.content-scroll');
这个方法无效啊?
还有什么解决办法吗

@cyh1998
Copy link

cyh1998 commented Jul 17, 2019

可以了,谢谢

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

3 participants