Refactor #4231 - For AutoComplete

pull/4239/head
mertsincan 2023-08-02 14:59:40 +03:00
parent 1e7750de9b
commit fffa1ef044
2 changed files with 5 additions and 1 deletions

View File

@ -171,6 +171,10 @@ export interface AutoCompletePassThroughOptions {
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
/**
* Used to control Vue Transition API.
*/
transition?: any;
}
/**

View File

@ -114,7 +114,7 @@
{{ searchResultMessageText }}
</span>
<Portal :appendTo="appendTo">
<transition name="p-connected-overlay" @enter="onOverlayEnter" @after-enter="onOverlayAfterEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave">
<transition name="p-connected-overlay" @enter="onOverlayEnter" @after-enter="onOverlayAfterEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave" v-bind="ptm('transition')">
<div
v-if="overlayVisible"
:ref="overlayRef"