我链接了一个如下所示的bootstrap模态框;然而,在打开/关闭一轮后,模态框停止响应点击。我尝试使用来自bootstrap文档的示例代码进行替换,它可以正常工作。我不确定从哪里开始调试。
<div class="modal fade" id="campaign-slider-content" tabindex="-1" aria-hidden="true" data-backdrop="true">
<div class="modal-dialog modal-lg" style="overflow-y: scroll; max-height:100%;">
<div class="modal-content">
<div class="modal-header">
</div>
<div class="modal-body">
</div>
</div>
</div>
</div>
<%= link_to image_tag(campaign.featured_image.url(:crowdreview_cropped), width: '288')
campaign_slider_detail_path(campaign.id), data: { toggle: 'modal', target: '#campaign-slider-content'}%>