swisnl / jQuery-contextMenu

jQuery contextMenu plugin & polyfill
https://swisnl.github.io/jQuery-contextMenu/
MIT License
2.24k stars 744 forks source link

Dynamically loaded submenus z-index problem #661

Open pleskankaj opened 6 years ago

pleskankaj commented 6 years ago

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.

cett01 commented 4 years ago

image

.context-menu-submenu> .context-menu-list{ z-index: 2; }

Add this to css, it solved my problem