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
|
@ -586,7 +586,7 @@ export default {
|
|||
const metaSelection = this.itemTouched ? false : this.metaKeySelection;
|
||||
const selectedId = DomHandler.find(this.$refs[listType].$el, '[data-pc-section="item"]')[index].getAttribute('id');
|
||||
|
||||
this.focusedOptionIndex = selectedId;
|
||||
this.focusedOptionIndex = event?.type === 'click' ? -1 : selectedId;
|
||||
let _selection;
|
||||
|
||||
if (metaSelection) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue