mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5106 - Change visual focus behavior for UI/UX enhancement on some components
This commit is contained in:
parent
55c68a010b
commit
bed58e4f80
5 changed files with 12 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue