Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

KT Menu not working wirh el-drawer VueJS


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-->
............

and to open the drawer, here is my code


function onMaximizeChat() {
maximizeChatBox.value = true
setTimeout(() => reinitializeComponents(), 1000)
}



Very helpful if you have any suggestions.
Thankyou.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(