Im using Bootstrap v3 in my project, which makes the submenus look like this:
It appears to be due to Bootstrap defining box-sizing: border-box; for all elements by default, but the jquery-contextmenu calculates its submenu coordinates as if based on box-sizing: content-box.
Hence, adding the following css solves my problem:
.context-menu-item {
box-sizing: content-box;
}
Since contextmenu requires its items to be box-sizing: content-box; this should be added by default to jquery-contextmenu.css?
Im using Bootstrap v3 in my project, which makes the submenus look like this: It appears to be due to Bootstrap defining box-sizing: border-box; for all elements by default, but the jquery-contextmenu calculates its submenu coordinates as if based on box-sizing: content-box. Hence, adding the following css solves my problem: .context-menu-item { box-sizing: content-box; }
Since contextmenu requires its items to be box-sizing: content-box; this should be added by default to jquery-contextmenu.css?