hello, I'm having trouble opening the menu in drawer element plus. on another component I did reinitializeComponents() and it worked, but when it was in the drawer, the menu didn't appear even though I had done reinitializeComponents().
is there anything i missed?
here is my code snippet
<el-drawer v-model="maximizeChatBox" direction="rtl" :with-header="false" size="50%">
<div class="flex-lg-row-fluid">
<!--begin::Messenger-->
<div class="card" id="kt_chat_messenger">
<!--begin::Card header-->
<div class="card-header" id="kt_chat_messenger_header">
.........
<!--begin::Card toolbar-->
<div class="card-toolbar">
<!--begin::Menu-->
....................
<button id="ticketMenu" class="btn btn-sm btn-icon btn-active-light-primary" data-kt-menu-trigger="click"
data-kt-menu-placement="bottom-end" data-kt-menu-flip="top-end" :disabled="ticketDetail.length == 0" >
<i class="bi bi-three-dots fs-2"></i>
</button>
<TicketOption :ticket-id="ticketStore.selectedTicket?.id ?? 0" :ticket="ticketStore.selectedTicket"
:type=""opened"" :message="ticketDetail[0] ?? {}" :all-message="ticketDetail"
@on-success="onSuccessCloseTicket"></TicketOption>
<!--end::Menu-->
</div>
<!--end::Card toolbar-->
</div>
<!--end::Card header-->
............
function onMaximizeChat() {
maximizeChatBox.value = true
setTimeout(() => reinitializeComponents(), 1000)
}
Hi,
Sorry for the late reply.
We highly suggest you do not mix our custom component with element plus drawer component, you can consider using our custom drawer component instead or use element plus drawer with element plus menu component.
Regards,
Lauris Stepanovs,
Keenthemes Support Team