Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2136

Dropdown does not handle change to options well

    XMLWordPrintable

Details

    • Bug Report
    • Status: Done
    • L3 - Default
    • Resolution: Fixed
    • None
    • 2.5.0, 2.5.0-alpha1
    • frontend
    • None

    Description

      Precondition: OPT-2004 is merged

      Reproduce:

      • goto the process definition selection
      • select a process definition that has one version
      • select another process definition that has two versions
      • Use the keyboard to navigate to the version select dropdown
      • Press enter to open the dropdown
      • Use the down arrow key to navigate through the options

      Expected:

      • I can access all options using the down arrow key

      Observed:

      • Only the all version entry is accessible

      Hint:
      The Dropdown component uses an instance variable to store refs to the Dropdown options (Github link). When the children change (componentDidUpdate lifecycle), the old refs are still kept in this array, making newly added options not accessible

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce