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

XMLWordPrintable

    • 1
    • Severity 2 - Major
    • 14

      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 

            Assignee:
            Anthony Nguyen
            Reporter:
            Romit Anand (Inactive)
            Votes:
            17 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: