From d2d6d07f625f26b138596196322ae0c848756815 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 13 Nov 2024 14:27:25 +0300 Subject: [PATCH 1/3] Refactor #6773 --- packages/primevue/src/autocomplete/AutoComplete.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/primevue/src/autocomplete/AutoComplete.vue b/packages/primevue/src/autocomplete/AutoComplete.vue index 8c62ab205..b458e36ed 100755 --- a/packages/primevue/src/autocomplete/AutoComplete.vue +++ b/packages/primevue/src/autocomplete/AutoComplete.vue @@ -232,6 +232,7 @@ export default { this.show(); this.focusedOptionIndex = this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1; this.searching = false; + this.visibleOptions.length === 0 && this.hide(); } this.autoUpdateModel(); From 142882f0914913646e8d6205e8b98754759bb340 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 13 Nov 2024 14:29:13 +0300 Subject: [PATCH 2/3] Fixed #6779 - Drawer: dismissable mode behaviour defects --- packages/primevue/src/drawer/Drawer.vue | 4 ++-- packages/primevue/src/drawer/style/DrawerStyle.js | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/primevue/src/drawer/Drawer.vue b/packages/primevue/src/drawer/Drawer.vue index d6da51643..0e3b45d55 100755 --- a/packages/primevue/src/drawer/Drawer.vue +++ b/packages/primevue/src/drawer/Drawer.vue @@ -1,8 +1,8 @@