First modal scroll hiding when second modal is closed

Total Post:45

Points:323
 450  View(s)
Ratings:
Rate this:

 When using two modals of bootstrap on close of second modal the scroll of the first modal is not working .

this is my code

<div class="modal fade" id="dashboardModal" aria-hidden="true" data-backdrop="static" data-keyboard="false" role="dialog">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title" id="modalTitle"></h4>
            </div>
    </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div>


  1. Post:52

    Points:366
    Re: First modal scroll hiding when second modal is closed

    add css property as shown in following code

    <div class="modal fade" id="dashboardModal" style="overflow:auto" aria-hidden="true" data-backdrop="static" data-keyboard="false" role="dialog">

    Hope it helps you..

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!