Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Fix layout issue in submenu (#14073)
Browse files Browse the repository at this point in the history
  • Loading branch information
boopeshmahendran authored and swmitra committed Apr 4, 2018
1 parent 31b5250 commit c1eba87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/Menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ define(function (require, exports, module) {
posLeft += 3;

if (clip.right > 0) {
posLeft = Math.max(0, posLeft - 2 * $parentMenuItem.outerWidth());
posLeft = Math.max(0, posLeft - $parentMenuItem.outerWidth() - $menuWindow.outerWidth());
}
} else {
this.trigger("beforeContextMenuOpen");
Expand Down

0 comments on commit c1eba87

Please sign in to comment.