From 1ac34d77ca0e993c506bc631aca3730896e90e87 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Fri, 13 Aug 2021 17:29:39 +0300 Subject: [PATCH] Refactor #1451 - For Dropdown --- rollup.config.js | 3 +- src/components/dropdown/Dropdown.vue | 78 ++++++++++++++++++++-------- src/views/dropdown/DropdownDemo.vue | 13 +++-- vue.config.js | 7 +-- 4 files changed, 70 insertions(+), 31 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index a4ed61d4d..dcc8492f2 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -14,6 +14,7 @@ let globalDependencies = { 'primevue/utils': 'primevue.utils', 'primevue/button': 'primevue.button', 'primevue/inputtext': 'primevue.inputtext', + 'primevue/virtualscroller': 'primevue.virtualscroller', 'primevue/dialog': 'primevue.dialog', 'primevue/paginator': 'primevue.paginator', 'primevue/confirmationeventbus': 'primevue.confirmationeventbus', @@ -129,4 +130,4 @@ addUtils(); addApi(); addServices(); -export default entries; \ No newline at end of file +export default entries; diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 3dd33a5c2..2c77effbf 100755 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -23,32 +23,36 @@ -
-