From 4bee8b6ef21b466e476751c5c636af913fc0fa29 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 23 Jan 2024 17:16:20 +0300 Subject: [PATCH] Update listbox visuals #5130 --- components/lib/listbox/BaseListbox.vue | 2 +- components/lib/listbox/style/ListboxStyle.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/lib/listbox/BaseListbox.vue b/components/lib/listbox/BaseListbox.vue index 65767edb2..663133c91 100644 --- a/components/lib/listbox/BaseListbox.vue +++ b/components/lib/listbox/BaseListbox.vue @@ -45,7 +45,7 @@ export default { }, autoOptionFocus: { type: Boolean, - default: false + default: true }, selectOnFocus: { type: Boolean, diff --git a/components/lib/listbox/style/ListboxStyle.js b/components/lib/listbox/style/ListboxStyle.js index ee8b73115..50d5ea4ac 100644 --- a/components/lib/listbox/style/ListboxStyle.js +++ b/components/lib/listbox/style/ListboxStyle.js @@ -42,7 +42,6 @@ const classes = { root: ({ instance, props }) => [ 'p-listbox p-component', { - 'p-focus': instance.focused, 'p-disabled': props.disabled } ],