Bootswatch ( https://bootswatch.com/flatly/ )から flatly テンプレートをインストールした後、twbsの通常のモーダル ウィンドウが機能しなくなりました。
<a data-toggle="modal" href="#" data-target="#myModal">CLICK!</a>
.
.
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
</body>
</html>
テーマをアプリケーションに追加するまでは完全に機能します。
これは、モーダル ウィンドウが表示されることを意味しますが、アクティブではありません。モーダル ウィンドウは灰色の背景の後ろに表示されます。モーダル ウィンドウにフォーカスがありません。私も閉めません。しかし、なぜ?