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

Dropdown does not handle change to options well

XMLWordPrintable

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

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: