Twitter bootstrap 3 Bootstrap 3表单内部模式未在触摸屏上提交
这看起来像是一个引导错误,但我找不到任何关于它的信息 我有下面的引导模式,里面有一个表单:Twitter bootstrap 3 Bootstrap 3表单内部模式未在触摸屏上提交,twitter-bootstrap-3,Twitter Bootstrap 3,这看起来像是一个引导错误,但我找不到任何关于它的信息 我有下面的引导模式,里面有一个表单: <div id="comment-delete-modal" class="modal fade" role="dialog" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-conte
<div id="comment-delete-modal" class="modal fade" role="dialog"
tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Delete comments</h4>
</div>
<div class="modal-body">
<p>Are you sure you want to delete all selected comments?</p>
</div>
<div class="modal-footer">
<form method="post" action="/delete">
<input type="hidden" id="delete-comment-ids" name="delete-comment-ids" value="1,2,3" />
<input type="hidden" name="entry-id" value="1" />
<button type="submit" class="btn btn-primary">Yes, delete comment(s)</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
</form>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
这在我的PC或Mac上的Chrome上非常有效。然而,在我手机的Chrome上,当点击表单提交按钮时,表单实际上并没有被提交。我注意到在触摸屏上,点击模式的任何地方都会取消模式,而不仅仅是取消按钮,这是预期的行为
我在Bootstrap的网站上用Chrome在触摸屏上试用了modal演示,结果是一样的——触摸modal中的任何地方都会使它失效。有缺陷的模态,有缺陷的移动浏览器,还是我遗漏了什么
更新:在Dolphin浏览器中正常工作,而不是Chrome浏览器