PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-46247

iFrame height does not change in custom screen size device preview

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M1
    • Component/s: UI Infrastructure
    • Labels:
      None
    • Fix Priority:
      3
    • Similar Issues:
      Show 5 results 

      Description

      Steps to reproduce:

      1. Navigate to a page
      2. Click the Preview button
      3. Click Custom
      4. Input a value into the width field (the first field)
      5. Assert the iframe preview resizes according to the new width
      6. Input a value into the height field (the 2nd field)

      Expected results:
      Inputting a different height value should resize the iframe

      Actual results:
      The height value only resizes the popup, not the actual iframe. See the attached GIF.

        Activity

        Hide
        Marc Lundgren (Inactive) added a comment -

        On 5/5/14, at 10:09 AM, Kenji Heigel wrote:

        > what i'm seeing specifically is if you look at the iframe tag for the device preview in the html in firebug, when you switch from smartphone to custom, it still has the iframe height as 640.

        Show
        Marc Lundgren (Inactive) added a comment - On 5/5/14, at 10:09 AM, Kenji Heigel wrote: > what i'm seeing specifically is if you look at the iframe tag for the device preview in the html in firebug, when you switch from smartphone to custom, it still has the iframe height as 640.
        Hide
        Kenji Heigel added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: 7c28f66835d6fdb19110a2d509d80d0345e4f4f8.

        The height value will resize the iframe. Additionally, switching between the smartphone or tablet previews and the custom preview will resize the iframe.

        Show
        Kenji Heigel added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: 7c28f66835d6fdb19110a2d509d80d0345e4f4f8. The height value will resize the iframe. Additionally, switching between the smartphone or tablet previews and the custom preview will resize the iframe.

          People

          • Assignee:
            Kenji Heigel
            Reporter:
            Kenji Heigel
            Recent user:
            Esther Sanz
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              49 weeks, 4 days ago

              Development

                Structure Helper Panel