In menu.js on line 248
"var target = document.querySelector('[data-kt-menu-target="# ' + the.element.getAttribute('id') + '"]');"
It has a space after "#" in query selector. It occurs bugs
Hi  ,
,
Good spot. Sure, we will fix it in the next update v8.1.8 in 1-2 weeks.
Appreciate your contribution.
Regards.
Can you guys add `selector` parameter for `init` functions. 
Like as: 
// Global initialization
KTMenu.init = function(selector = '[data-kt-menu="true"]') {
 KTMenu.createInstances(selector);
 if (KTMenuHandlersInitialized === false) {
 KTMenu.initHandlers();
 KTMenuHandlersInitialized = true;
 } 
};
Hi,
Noted, sure, we will add it in the next update.
Regards.
please update after releases