Hello, when you load submenus dinamically, it seems, that zindex is not applied. So if you have context menu that does not fit the screen and you load submenus it appear behind parent menu and its width seems to be wrong as well. I have created simple fiddle. I just copied your demo.
Hello, when you load submenus dinamically, it seems, that zindex is not applied. So if you have context menu that does not fit the screen and you load submenus it appear behind parent menu and its width seems to be wrong as well. I have created simple fiddle. I just copied your demo.