Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42106

Github creation should automatically scroll the window to the current step

    Details

    • Similar Issues:
    • Epic Link:
    • Sprint:
      1.0

      Description

      The Github creation flow should automatically scroll the browser window so the active step is fully visible.

      1. Top edge of the step should be below the top of the window
      2. Bottom edge of the step should be above of the window.
      3. In cases where the window is smaller than the step, position so the top edge of the step is aligned with the top edge of the window.
      4. Extra credit use a nice animation for the scroll.

      Notes:

      1. Ideally this behavior might be baked into the MultiStepFlow component so that it just "does the right thing" when steps are added or removed.
      2. Perhaps the scroll behavior can be further generified, although
      3. If the user has scrolled near the bottom of a long flow, then scrolls up and selects a prior step, the total height of the page will change and this could lead to odd scrolling behavior. Will need extra testing.

        Attachments

          Activity

          Show
          cliffmeyers Cliff Meyers added a comment - PR: https://github.com/jenkinsci/blueocean-plugin/pull/861

            People

            • Assignee:
              cliffmeyers Cliff Meyers
              Reporter:
              cliffmeyers Cliff Meyers
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: