diff --git a/vstgui/lib/platform/mac/cocoa/nsviewframe.mm b/vstgui/lib/platform/mac/cocoa/nsviewframe.mm index 34a3bd3e9..6d665c87f 100644 --- a/vstgui/lib/platform/mac/cocoa/nsviewframe.mm +++ b/vstgui/lib/platform/mac/cocoa/nsviewframe.mm @@ -329,7 +329,7 @@ static BOOL resignFirstResponder (id self, SEL _cmd) firstResponder = nil; if (firstResponder) { - if ([firstResponder isDescendantOf:self]) + if (firstResponder != self && [firstResponder isDescendantOf:self]) { return YES; }