modal window does not scroll


I am using bootstrap to make modal windows but when loaded a lot of content can not be downloaded with the scroll to see the other information because the scroll is hidden automatically when I open my modal, that is, it remains static, I use the code to the modal windows of the bootstrap page

        <div class="modal fade " id="modalOpcionessii" tabindex="-1" role="dialog" >
            <div class="modal-dialog"  role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title">Reporte de renovaciones</h5>
                    <div class="modal-body">

                        <div class="alert alert-success"><i class="glyphicon glyphicon-asterisk"></i> Propuestas</div>
                        <input type="hidden" id="valor_" />
                        <input type="hidden" id="valorboton_" />
                        <!-- EN EL DIV "muestraResultado" MUESTRO CONTENIDO DE TEXTO -->
                        <div id="muestraResultado"></div>

                    <div class="modal-footer">
                        <button type="button"  class="btn btn-primary" data-toggle="modal" data-target="#SiRenueva" data-whatever="si">Si </button>
                        <button type="button"  class="btn btn-primary" data-toggle="modal" data-target="#NoRenueva" data-whatever="si">No </button>
asked by Drago25 29.02.2016 в 18:40

1 answer


You can solve it by adding this to your css

    overflow-y: initial !important
    height: 250px;
    overflow-y: auto;


Note: Remember that your css has to be applied after bootstrap.css

answered by 29.02.2016 / 18:50