pull/227/head
cagataycivici 2020-03-04 14:58:01 +03:00
parent 2ecd1bda48
commit 1cdf2571e1
3 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ export default {
hide() {
this.visible = false;
},
onEnter(element) {
onEnter() {
this.appendContainer();
this.alignOverlay();
this.bindOutsideClickListener();

View File

@ -274,7 +274,7 @@ export default {
}
else {
DomHandler.relativePosition(this.$refs.overlay, this.$refs.container);
}
}
},
bindOutsideClickListener() {
if (!this.outsideClickListener) {

View File

@ -3,7 +3,7 @@
<PVSButton type="button" :icon="icon" :label="label" @click="onClick" :disabled="disabled" :tabindex="tabindex" />
<PVSButton type="button" class="p-splitbutton-menubutton" icon="pi pi-caret-down" @click="onDropdownButtonClick" :disabled="disabled"
aria-haspopup="true" :aria-controls="ariaId + '_overlay'"/>
<PVSMenu :id="ariaId + '_overlay'" ref="menu" :model="model" :popup="true" :autoZIndex="autoZIndex"
<PVSMenu :id="ariaId + '_overlay'" ref="menu" :model="model" :popup="true" :autoZIndex="autoZIndex"
:baseZIndex="baseZIndex" :appendTo="appendTo"/>
</div>
</template>