Dropdown does not handle change to options well

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.5.0-alpha1, 2.5.0
    • Affects Version/s: None
    • Component/s: 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

            Assignee:
            Unassigned
            Reporter:
            Sebastian Stamm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: