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

Auto-focused form elements causes page to scroll to the bottom

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • Jenkins 1.596.3 (LTS) and 1.609.1 (LTS), Chrome and Safari

      How to reproduce:

      1. Make sure Jenkins is configured with many executors or slaves, or make your browser window small, so that the Build Executor Status list does not fit on the screen, making every page have a scrollbar
      2. Visit a page with automatic form focusing, for example the login or new job page

      Expected: The first input element should be focused and the page should be scrolled to the top
      Actual: The first input element is focused, but the page is scrolled to the bottom

      This seems to be because the element is focused while the page is rendered for devices with small screens, with the Build Executor Status taking up full page with and the login form being placed below it.

      While there is no loss of function, this issue causes inconvenience.

            Unassigned Unassigned
            davidparsson David Pärsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: