为什么在按住按钮5秒钟后出现复制粘贴选项? [英] Why copy paste option come when we tap the the button for 5 seconds?
本文介绍了为什么在按住按钮5秒钟后出现复制粘贴选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您能告诉我为什么在jQuery mobile中点击按钮5秒钟后出现复制,粘贴选项吗?其实我使用的是jQuery mobile.当我单击添加按钮并点击它时,它会显示复制粘贴选择所有选项?
Can you please tell me why copy, paste option appears after tapping the button for 5 seconds in jQuery mobile? Actually I am using jQuery mobile When I Add button and tap on that it show copy paste select all options?
<div class="ui-grid-c">
<div class="ui-block-a" style="width: 30%;" >
<input name="text-12" id="text-12" value="" type="text" autocorrect="off" class="searchbox">
</div>
<div class="ui-block-b">
<a href="#" data-role="button" data-corners="false" data-inline="true" class="search">Search</a>
</div>
<div class="ui-block-c" style="margin-left: 5px;">
<a href="#" data-role="button" data-corners="false" data-inline="true" id="next" class="searchNext" disabled>Next</a>
</div>
<div class="ui-block-d" style="margin-left: 30px;">
<a href="#" data-role="button" data-corners="false" data-inline="true" id="prev" class="searchPrev" disabled>Previous</a>
</div>
推荐答案
请查看此链接 Apache Cordova:删除点击保持链接菜单
使用此
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
}
并仅启用您喜欢的功能:
and only enable something you like:
input {
-webkit-user-select: auto;
}
这篇关于为什么在按住按钮5秒钟后出现复制粘贴选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文