This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 3 years, 1 month ago.

Scroll mroblem with modals


  • scrollfinder
    Participant

    Member Reply #846

    <div class=”user-html”>

    Hi!

    In admin/ui_extended_modals.html template modal .modal-scroll doesn’t seem to work as expected. If the height of modal is more than the height of the window, scroll appears ONLY if the page already had scroll. If the page didn’t have scroll, scroll doesn’t appear when modal loads.

    .modal-scrollable doesn’t work too as was advices in previous comment.

    I use the latest version.

    Steps to reproduce bug:

    1. Open http://www.keenthemes.com/preview/metronic/theme/templates/admin/ui_extended_modals.html

    2. In Developer tools delete the element <div class=”page-container”> -> <div class=”page-sidebar-wrapper”>, so the page becomes short without the menu.

    3. Adjust browser window height: make it shortest possible without scroll bar.

    4. Click “Long Modals” demo.  The modal must taller that window size, and no scroll bar appeared.

     

    How can it be fixed? Thanks.

    </div>

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4444
    Support Staff Reply #879

    Hi,

    Thanks for the steps provided. The browser scrollbars are shown as expected. I followed the steps and the result is as attached. Could you please clear your browser cache and double check it ?

    Thanks.

     

    Attachments:
    You must be logged in to view attached files.

You must be logged in to reply to this topic.