Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Menu clipping 1. Add zIndex option to allow overriding menu z-index for edge use cases. 2. Add logic to assign a reasonable z-index if not appending to a jQuery UI Dialog. (e.g., appending to document.body instead) 3. Go back to setting the menu position on every open in case the button has been moved (e.g. container dialog moved) from the last open. 4. Close the menu if the mouse cursor is outside the menu and the mouse wheel is turned. This fixes a scrolling issue that made the menu look detached from the button when the mouse wheel was turned. 5. Add _allowInteraction support for jQuery modal dialogs to prevent interaction issues when appending to document body to prevent menu truncation. Note these changes do not explicitly fix the menu truncation issue. However, they do make it much easier to address menu truncation by just explicitly setting the appendTo option to document.body. * Simplify the check for clicks outside menu
- Loading branch information
1 parent
7142177
commit 0a340f3
Showing
2 changed files
with
75 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters