From 5612741f753dd0d35920a7eae0d667a7e53cdb56 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 28 Dec 2023 12:01:41 +0300 Subject: [PATCH] Fixed #4998 - TreeSelect: tab key control defect --- components/lib/treeselect/TreeSelect.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/lib/treeselect/TreeSelect.vue b/components/lib/treeselect/TreeSelect.vue index 1b741927b..f1127fac5 100644 --- a/components/lib/treeselect/TreeSelect.vue +++ b/components/lib/treeselect/TreeSelect.vue @@ -281,10 +281,6 @@ export default { DomHandler.focus(this.$refs.firstHiddenFocusableElementOnOverlay); event.preventDefault(); - } else { - if (this.focusedOptionIndex !== -1) { - this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]); - } } } },