1
How to avoid scrolling while Bootstrap’s Modal Dialog is open?
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button id="fechar" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">Fechar</span></button>
<h4 class="modal-title" id="myModalLabel">Modal</h4>
</div>
<div class="modal-body">
...
</div>
</div>
</div>
</div>
You want Modal not to scroll next to the page or the Page not to scroll at all?
– Tobias Mesquita
That the page does not scroll at all.
– Gustavo Piucco