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

Desktop page menu layout changes to responsive mobile layout after clicking on a page using IE11

    Details

      Description

      After clicking on a page, the IE11 shows the responsive mobile layout for a desktop browser.

      Steps to reproduce:

      1. Using a clean bundle, start a portal with fix-pack-de-46-7010.
      2. Using Internet Explorer 11, after the welcome page is loaded, click on the "Welcome" page in the pages menu.

      Expected Result

      The browser shows the page with the desktop layout.

      Actual Result

      The browser shows the page with the mobile responsive layout, with the kebab menu. After refresh the page, IE show the page with the correct layout.

      Additional Info

      There is an issue opened last week on GitHub about a problem in Metal.js where the user agent is unable to recognise which browser is being used, causing the specific rules for Internet Explorer 11 to be ignored, thus leading to the error described.

      update: It turned out, we have to upgrade the metal-useragent in frontend-js-metal to 3.0.0 to solve the issue. 

      Error was not reproduced in: master, fix-pack-de-45-7010.

      Error was reproduced in: 7.0.X, fix-pack-de-46-7010 and later versions.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 20 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP54
                  7.0.0 DXP SP9
                  7.0.X
                  Master