dialog2 icon indicating copy to clipboard operation
dialog2 copied to clipboard

content中input无法输入

Open jsoncode opened this issue 6 years ago • 3 comments

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

jsoncode avatar May 03 '18 09:05 jsoncode

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

shanghen avatar Jun 01 '18 06:06 shanghen

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

cyh1998 avatar Jul 17 '19 02:07 cyh1998

可以了,谢谢

cyh1998 avatar Jul 17 '19 03:07 cyh1998