Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update RCTView.m
  • Loading branch information
Saadnajmi authored Oct 26, 2022
commit b9cc0c69c000de29f2b2c6930f8362a26531dbf2
4 changes: 2 additions & 2 deletions React/Views/RCTView.m
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ - (void)setReactLayoutDirection:(UIUserInterfaceLayoutDirection)layoutDirection
{
if (_reactLayoutDirection != layoutDirection) {
_reactLayoutDirection = layoutDirection;
[self.layer setNeedsDisplay];
[self.layer setPDisplay];
}

#if !TARGET_OS_OSX // TODO(macOS GH#774)
Expand Down Expand Up @@ -1440,7 +1440,7 @@ - (void)mouseUp:(NSEvent *)event
}
}

- (BOOL) needsPanelToBecomeKey {
- (BOOL)needsPanelToBecomeKey {
// We need to override this so that mouse clicks don't move keyboard focus on focusable views by default.
return false;
}
Expand Down