dropdown_widget: Add focus management options.

This commit add configuration options to improve dropdown behavior:
- `keep_focus_to_search`: Keeps focus in the search input during
navigation.
- `tab_moves_focus_to_target`: Moves focus to the target item on
Tab key press.
This commit is contained in:
Aditya Kumar Kasaudhan
2025-03-08 01:58:42 +05:30
committed by Tim Abbott
parent 209a7023b2
commit b79547d9e2
3 changed files with 142 additions and 22 deletions

View File

@@ -1324,7 +1324,8 @@ input.settings_text_input {
background-color: var(--background-color-active-dropdown-item);
}
&:focus {
&:focus,
&.current_selection {
background-color: var(--background-color-active-dropdown-item);
outline: none;
}