Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


With the best soccer ball offered at Uniswift.ae, you can improve your game. Discover our assortment of premium balls made to last and perform well, so you can always give it your all on the pitch.



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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(