Fixed: token field autocomplete menu not receiving mouse events in presence of modal window.

Without this fix, the presence of a modal ancestor window to a token field would lock down the autocomplete menu from mouse interaction.

This fix ensures the token field autocomplete menu accepts mouse events even during the presence of modal widows, just like other auxiliary windows such as pop up menus.
This commit is contained in:
Alexander Ljungberg committed 2013-03-11 16:41:06 +00:00
1 parent 6327d8c92e
commit 59b766eb93
1 file changed
+6
+6
View File
@@ -275,6 +275,12 @@ var _CPAutocompleteMenuMaximumHeight = 307;
return YES;
}
- (BOOL)worksWhenModal
{
// Windows which serve as auxiliary controls should work when modal.
return YES;
}
@end
@implementation _CPNonFirstResponderTableView : CPTableView