Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-20203

Opening reference selector dropdown before page load causes dropdown to open in wrong location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 10.0.0
    • UI
    • Severity 3 - Minor
    • Seems to be related to the ref-selector.jsx component. Most likely related to something in uncontrolled-infinite-select.jsx since there are some fixes for react-select.
    • CtB - Improve Existing

      Issue Summary

      • Opening reference selector dropdown on Branches view or Source view before page content is loaded and list of references is fetched from BE causes dropdown to open in offset location.  

      Steps to Reproduce

      1. Go to Branches list page
      2. Open reference (branch, tag, commit) selector dropdown before list of branches appears
      3. Once list of references is fetched from BE, they will appear but not in the intended location immediately after the dropdown

      Expected Results

      Dropdown options should appear immediately after the dropdown element in a menu.

      Actual Results

      Dropdown options appear further down the page with a large gap between the menu and the dropdown element.

      Workaround

      User can still select an option from the dropdown menu located further down the page.

        1. image.png
          161 kB
          Matthew Hanselman
        2. Screenshot 2025-10-08 at 11.05.20 am.png
          291 kB
          Matthew Hanselman

              Unassigned Unassigned
              482cfebf5b5a Matthew Hanselman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: