Hi, I have a button that is invoking data-kt-menu. All is working well based on example except:
- calling menu button has dynamic text that is updated from subscription
- button params: data-kt-menu-trigger="click" data-kt-menu-placement="bottom-start"
- if Apply button ((click)="submit()" data-kt-menu-dismiss="false") clicked without text regeneration then it closes proper, calling internal data-kt-menu dismiss()
- if subscription changes text in the calling button, I cannot invoke data-kt-menu again (dismiss was never called) and drop-down disappears. Regular click event on button still works.
How can I reset data-kt-menu in this case so it is invocable again?
Hi, menu is closing when clicking in side div, can you please help me on this. I used MenuComponent.hideDropdowns(undefined) but its dint work.
Hi,
Try to do MenuComponent.reinitialization()
when you are updating the menu inner content.
Maybe it will help you.
Regards,
Keenthemes support