Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-42154

When a modal dialog is loaded, the page behind the modal should not scroll

    Details

      Description

      When creating a modal dialog that masks the page behind it, the page should not be scrollable.
      We can do this by adding overflow: hidden onto the body element, however, we should use a CSS class to provide this functionality (so it can be easily overwritten by the theme).
      We should also make sure that the class name is removed when the dialog is hidden or destroyed.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 24 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.0 CE GA1