Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51621

Stop the annoying mini-offset of body to happen on modal dialogs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 2.8.8, 2.9.2, 3.0
    • HTML and CSS, JavaScript
    • None
    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE

    Description

      I've tried to find this issue looking for +modal +scroll but have failed to find it, hence creating it.

      Everytime a modal dialog is shown, the "disabled" body hides any existing scroll bar and, as a result, the whole body is "moved/offset" by some points.

      It's a small, but very annoying issue to get the whole page "vibrating" that way. Would be great to keep body quiet when modals (and we are using them more and more) are used.

      I can reproduce it consistently under both Safari and Chrome with scroll bars enabled.

      Maybe related, I've found this, just in case it helps:

      https://github.com/twbs/bootstrap/issues/9855

      Ciao

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.