Skip to content

Label selection dropdown: First item stays selected

What does this MR do and why?

  • Fixes the problem that after interacting with the labels dropdown the first item stays visually active.
  • Fixes the problem that when using the arrow down/tab after a search the first item gets selected again which leads to a weird experience as the user expects the next element to get selected (2 in list). This MR fixes that behavior that it behaves like e.g. the assignee dropdown.

Screenshots or screen recordings

Before After
before after
before after

How to set up and validate locally

  1. Enable echo "Feature.enable(:visible_label_selection_on_metadata)" | rails c
  2. Visit http://gdk.test:3000/flightjs/Flight/-/issues/new
  3. Open the label selection dropdown
  4. Search for e.g. «a»
  5. Use arrow down/up or tab to navigate

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #420715 (closed), #417912 (closed)

Edited by Sascha Eggenberger

Merge request reports

Loading