Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-80196

Unnecessary vertical scrolling of Connect iframe if sizeToParent:true is used.

    XMLWordPrintable

Details

    Description

      Issue Summary

      If the Connect iframe is used with sizeToParent:true (see https://developer.atlassian.com/cloud/jira/platform/about-the-connect-javascript-api/), it is supposed to take the full available height within the Jira window. This generally works, however, there's around 10px of additional whitespace below the iframe, causing a vertical scrollbar to occur that moves the entire iframe up and down. This is clearly a bug: It doesn't make sense for the iframe to "move", and the additional scrollbar takes up important screen space. Plus, if there's more scrolling happening within the iframe, it creates a weird "double scrollbar" situation.

       

      Steps to Reproduce

      1. In a connect app set the iFrame size to sizeToParent:true

      Expected Results

      Only one scroll bar should be there.

      Actual Results

      Two scroll bars.

      Workaround

       Set "display: block;" on the iFrame 

      Attachments

        Issue Links

          Activity

            People

              2c92a38c1d64 Anthony Nguyen
              1c654a87ab41 Romit Anand (Inactive)
              Votes:
              17 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: