stable
Clone or download
Read-only
fix(list-picker): focus the list-picker when user clicks on the label associated to the source <select> element
Closes request #19713 Missing ListPicker focus when I click on the associated label How to test: - Go to the TLP documentation > Forms > List Picker - Choose a list picker, then click on its label --> The selection element in the list picker takes the focus - Go to the List Picker multiple section - Choose a list picker, then click on its label --> The search field in the list picker takes the focus Change-Id: I6e1f10006b6e14967c984fae965f802cdc5a19e6
Modified Files
Name | ||||
---|---|---|---|---|
M | src/scripts/lib/list-picker/src/dropdown/DropdownManager.test.ts | +2 | −2 | Go to diff View file |
M | src/scripts/lib/list-picker/src/dropdown/DropdownManager.ts | +1 | −1 | Go to diff View file |
M | src/scripts/lib/list-picker/src/list-picker.ts | +3 | −0 | Go to diff View file |
M | src/scripts/lib/list-picker/src/navigation/FieldFocusManager.test.ts | +56 | −2 | Go to diff View file |
M | src/scripts/lib/list-picker/src/navigation/FieldFocusManager.ts | +23 | −1 | Go to diff View file |
M | src/www/tlp-doc/resources/forms/list-picker/example.html | +1 | −1 | Go to diff View file |