From 66fef7f985646052005d8dc08ba6e4973c9597c3 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 11 Oct 2024 11:32:38 +0300 Subject: [PATCH] CascadeSelect root list focus updates --- packages/primevue/src/cascadeselect/CascadeSelect.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/primevue/src/cascadeselect/CascadeSelect.vue b/packages/primevue/src/cascadeselect/CascadeSelect.vue index 634710323..db5b6fb9c 100644 --- a/packages/primevue/src/cascadeselect/CascadeSelect.vue +++ b/packages/primevue/src/cascadeselect/CascadeSelect.vue @@ -347,13 +347,7 @@ export default { }, onOptionMouseEnter(event) { if (this.focusOnHover) { - if (isNotEmpty(this.modelValue)) { - const { originalEvent, processedOption } = event; - const { index, level, parentKey } = processedOption; - - this.focusedOptionInfo = { index, level, parentKey }; - this.changeFocusedOptionIndex(originalEvent, index); - } else if (this.dirty || (!this.dirty && isNotEmpty(this.modelValue))) { + if (this.dirty || (!this.dirty && isNotEmpty(this.modelValue))) { this.onOptionChange(event); } else if (!this.dirty && event.processedOption.level === 0) { this.onOptionClick(event);