diff --git a/browser_tests/fixtures/components/ComfyNodeSearchBox.ts b/browser_tests/fixtures/components/ComfyNodeSearchBox.ts index 59a33e254b0..92d2e094827 100644 --- a/browser_tests/fixtures/components/ComfyNodeSearchBox.ts +++ b/browser_tests/fixtures/components/ComfyNodeSearchBox.ts @@ -44,7 +44,7 @@ export class ComfyNodeSearchBox { '.comfy-vue-node-search-container input[type="text"]' ) this.dropdown = page.locator( - '.comfy-vue-node-search-container .p-autocomplete-list' + '.comfy-vue-node-search-container .comfy-autocomplete-list' ) this.filterSelectionPanel = new ComfyNodeSearchFilterSelectionPanel(page) } @@ -61,7 +61,7 @@ export class ComfyNodeSearchBox { await this.input.fill(nodeName) await this.dropdown.waitFor({ state: 'visible' }) await this.dropdown - .locator('li') + .locator('.option-container') .nth(options?.suggestionIndex || 0) .click() } diff --git a/src/components/primevueOverride/AutoCompletePlus.vue b/src/components/primevueOverride/AutoCompletePlus.vue deleted file mode 100644 index 5a1e7a2e6be..00000000000 --- a/src/components/primevueOverride/AutoCompletePlus.vue +++ /dev/null @@ -1,52 +0,0 @@ - - diff --git a/src/components/searchbox/NodeSearchBox.vue b/src/components/searchbox/NodeSearchBox.vue index abda187a5c3..04da0a077f5 100644 --- a/src/components/searchbox/NodeSearchBox.vue +++ b/src/components/searchbox/NodeSearchBox.vue @@ -13,20 +13,12 @@ /> - - - inputRef?.focus())" > {{ $t('g.addNodeFilterCondition') }} @@ -36,57 +28,84 @@ - - - - - - - + + + + + - ) - " + > + + ) + " + /> + + - - + + + + + + + + diff --git a/src/components/searchbox/NodeSearchBoxPopover.vue b/src/components/searchbox/NodeSearchBoxPopover.vue index 470853b08c5..47a1bdf7b2c 100644 --- a/src/components/searchbox/NodeSearchBoxPopover.vue +++ b/src/components/searchbox/NodeSearchBoxPopover.vue @@ -11,10 +11,9 @@ }, mask: { class: 'node-search-box-dialog-mask' }, transition: { - enterFromClass: 'opacity-0 scale-75', - // 100ms is the duration of the transition in the dialog component - enterActiveClass: 'transition-all duration-100 ease-out', - leaveActiveClass: 'transition-all duration-100 ease-in', + enterFromClass: 'opacity-0', + enterActiveClass: 'transition-all duration-20 ease-out', + leaveActiveClass: 'transition-all duration-20 ease-in', leaveToClass: 'opacity-0 scale-75' } }"