Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-15037

React-select-multi component - when press a key to add an entry the previously selected entry remains highlighted

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Component/s: XUI
    • Labels:

      Description

      Bug description

      The keyboard navigation inside of the react-select-multi component allows you to highlight the "x" of an entry using arrows (the "x" becomes red). When the space is pressed the new entry can be added in the component input but the previously selected entry remains highlighted ("x" is still red)

      How to reproduce the issue

      1. Create hosted IDP instance and go to edit page
      2. Navigate to Assertion Content tab > NameID Format panel
      3. Get focus on the NameID Format List and use the arrows to navigate between the entries.
      4. You can see when navigating between entries that the "x" of selected entry is highlighted red.
      5. Now press space key to introduce new entry to the component's input
      6. The "Add" bar appears on the bottom of the entries list however the previously selected entry is highlighted still (the "x" is stays red)
      Expected behaviour
      When press space key to introduce new entry then the previously selected entry shouldn't remain selected.
      Current behaviour
      The previously selected entry is highlighted still (the "x" is stays red).
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joanna.szajna Joanna Szajna [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: