Fixed #5106 - Change visual focus behavior for UI/UX enhancement on some components

This commit is contained in:
mertsincan 2024-01-18 13:44:20 +00:00
parent 55c68a010b
commit bed58e4f80
5 changed files with 12 additions and 12 deletions

View file

@ -306,7 +306,7 @@ export default {
this.multiple ? this.onOptionSelectMultiple(event, option) : this.onOptionSelectSingle(event, option);
this.optionTouched = false;
index !== -1 && (this.focusedOptionIndex = index);
index !== -1 && (this.focusedOptionIndex = event?.type === 'click' ? -1 : index);
},
onOptionMouseDown(event, index) {
this.changeFocusedOptionIndex(event, index);