We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c45143c commit d664908Copy full SHA for d664908
src/jquery.contextMenu.js
@@ -1077,7 +1077,7 @@ var // currently active contextMenu trigger
1077
// determine width of absolutely positioned element
1078
$menu.css({position: 'absolute', display: 'block'});
1079
// don't apply yet, because that would break nested elements' widths
1080
- $menu.data('width', $menu.width());
+ $menu.data('width', Math.ceil($menu.width()) + 1);
1081
// reset styles so they allow nested elements to grow/shrink naturally
1082
$menu.css({
1083
position: 'static',
0 commit comments