Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-1229

Multiselect db picker automatically selects the first item in the dropdown when clicked in Firefox

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: 6.2.1-p5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Critical Points:
      2.1

      Description

      Steps to reproduce:
      1. Add a resource for the local db connection
      2. Add a mutliselect db picker field, using the local db connection and the SQL example snippets for "Select project" and "Search projects"
      3. Ensure that you have multiple projects
      3. Add the field to the default screen and in Firefox open an issue creation popup where the newly added picker should be at the bottom of the modal
      4. As soon as you click on the picker field (but as close to the bottom of it as possible) the first element in the dropdown will get selected.

      This behaviour seems to be caused by the fact that elements from the dropdown are selected on mouse up and not click as well as the fact that in Firefox the scroll jumps up (because there is less padding underneath the field than in Chrome) just enough for the mouse up to happen on the first element in the dropdown. If you press and hold then move the mouse not to be above the option list before releasing it then the first element will not be selected. You can also reproduce the issue in Chrome by pressing and holding the mouse button on the field and moving the cursor slightly down over the first element in the dropdown before releasing it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              merdmann Marcin Erdmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: