0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/plugins/discourse-assign/spec/system/page_objects/modals
Kris 4cac482638
FIX: avoid double arrow key nav for select-kit-filter (#41443)
Currently when you search for a tag in the composer, it requires two
arrow key presses to reach the second option, even though the first
option is already highlighted.

This is because the create option (first row) is pre-highlighted... so
arrow down in select-kit calls `this.selectKit.highlightFirst()` and you
end up re-highlighting it on the first arrow press.

This checks if a row is pre-highlighted to avoid `highlightFirst` and
instead fires `highlightNext` (and the opposite for up arrow cases)
2026-07-03 18:50:57 -04:00
..
assign.rb FIX: avoid double arrow key nav for select-kit-filter (#41443) 2026-07-03 18:50:57 -04:00