mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #5683 - For AutoComplete
This commit is contained in:
parent
5da30dd2b0
commit
913dc05982
4 changed files with 26 additions and 10 deletions
|
@ -124,11 +124,11 @@
|
|||
v-if="overlayVisible"
|
||||
:ref="overlayRef"
|
||||
:id="panelId"
|
||||
:class="[cx('panel'), panelClass]"
|
||||
:style="{ ...panelStyle, 'max-height': virtualScrollerDisabled ? scrollHeight : '' }"
|
||||
:class="[cx('overlay'), panelClass, overlayClass]"
|
||||
:style="{ ...panelStyle, ...overlayStyle, 'max-height': virtualScrollerDisabled ? scrollHeight : '' }"
|
||||
@click="onOverlayClick"
|
||||
@keydown="onOverlayKeyDown"
|
||||
v-bind="ptm('panel')"
|
||||
v-bind="ptm('overlay')"
|
||||
>
|
||||
<slot name="header" :value="modelValue" :suggestions="visibleOptions"></slot>
|
||||
<VirtualScroller :ref="virtualScrollerRef" v-bind="virtualScrollerOptions" :style="{ height: scrollHeight }" :items="visibleOptions" :tabindex="-1" :disabled="virtualScrollerDisabled" :pt="ptm('virtualScroller')">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue