Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-8629

Tabbing out of editing issue summary causes detail view header to be displaced

      Steps to reproduce:

      1. Open Plan Mode or Work Mode
      2. Choose an issue which is in an active sprint (and hence Estimate is not editable)
      3. Click on Summary to edit
      4. Type a new value
      5. Tab to submit the edit

      Focus shifts to Description, the next editable field. However the issue detail view header (which contains Summary) has been shifted/scrolled, with no way to return it to normal (reloading detail view fixes it).

      See video.

          Form Name

            [JSWSERVER-8629] Tabbing out of editing issue summary causes detail view header to be displaced

            committed a really bad hack to scroll DV back to the correct position. Not exactly "good enough" but not sure how a better fix would look like

            Michael Ruflin added a comment - committed a really bad hack to scroll DV back to the correct position. Not exactly "good enough" but not sure how a better fix would look like

            This is actually caused by adding more text to the summary. If the text adds lines then the header area of the DV becomes bigger, with the result that the content are (details) should become smaller. We currently don't update that size after edits though, so overall the DV overflows and jumping to description then scrolls the DV.

            To fix, call update sizing code inside the DV after issue edit/after the detail view header is rerendered.

            Michael Ruflin added a comment - This is actually caused by adding more text to the summary. If the text adds lines then the header area of the DV becomes bigger, with the result that the content are (details) should become smaller. We currently don't update that size after edits though, so overall the DV overflows and jumping to description then scrolls the DV. To fix, call update sizing code inside the DV after issue edit/after the detail view header is rerendered.

            Most likely caused by incorrect main content area height calculation.

            Unable to reproduce, except on IE now, which struggles big time with height:inherit of a table cell.

            Michael Ruflin added a comment - Most likely caused by incorrect main content area height calculation. Unable to reproduce, except on IE now, which struggles big time with height:inherit of a table cell.

              Unassigned Unassigned
              mtokar Michael Tokar
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: