Fixed #2656 - ColorPicker: inline mode doesn't work

pull/2657/head
Tuğçe Küçükoğlu 2022-06-10 09:22:49 +03:00
parent fbc9ff240f
commit 54e3329a4e
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div ref="container" :class="containerClass">
<input ref="input" type="text" :class="inputClass" readonly="readonly" :tabindex="tabindex" :disabled="disabled"
@click="onInputClick" @keydown="onInputKeydown" v-if="!inline" :aria-labelledby="ariaLabelledBy"/>
<Portal :appendTo="appendTo">
<Portal :appendTo="appendTo" :disabled="inline">
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave">
<div :ref="pickerRef" :class="pickerClass" v-if="inline ? true : overlayVisible" @click="onOverlayClick">
<div class="p-colorpicker-content">