mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-20 05:29:23 +00:00
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:
1 parent
6327d8c92e
commit
59b766eb93
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user