Answer the question
In order to leave comments, you need to log in
Why is the Bootstrap modal not working on mobile?
Hey!
I have a window call button:
<a type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">Политика конфиденциальности</a>
<!-- Modal -->
<div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Политика конфиденциальности</h4>
</div>
<div class="modal-body">
<p>Some text</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button>
</div>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
The question is closed. Maybe someone will run into the same problem.
Solution: the button to call the modal window must be implemented through
Initially, Bootstrap offers through
which is a bit strange, I tried through
but it did not help.
The only negative is that you need to edit the button styles a bit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question