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

Firefox (and other browsers) will only show the scrollbar when needed

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.2
    • Fix Version/s: 5.2.3
    • Component/s: None
    • Labels:
      None
    • Branch Version/s:
      5.1.x
    • Backported to Branch:
      Committed

      Description

      Firefox (and also Opera and a few other browsers), only display the scrollbar when there is content that requires scrolling.
      However, this means that the page will shift in it's width depending on if there is a scrollbar or not. We happen to believe Internet Explorer gets this one right in always displaying the scrollbar (though it could be handled by just not allowing the presence of a scrollbar to cause a shift in the design of the page).

      This is easy to fix by adding overflow-y: scroll; to the html tag in the CSS. In our tests this has no other side effects and has been safe for use in every scenario we've tested.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nathan.cavanaugh Nate Cavanaugh
              Reporter:
              nathan.cavanaugh Nate Cavanaugh
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 years, 48 weeks, 4 days ago

                  Packages

                  Version Package
                  5.2.3