We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78a879c + e1ea6d2 commit 4baf0f3Copy full SHA for 4baf0f3
React/Modules/MacOS/RCTAccessibilityManager.m
@@ -99,9 +99,10 @@ - (void)dealloc
99
100
RCT_EXPORT_METHOD(setAccessibilityFocus:(nonnull NSNumber *)reactTag)
101
{
102
- dispatch_async(dispatch_get_main_queue(), ^{
+ dispatch_async(dispatch_get_main_queue(), ^{
103
NSView *view = [self.bridge.uiManager viewForReactTag:reactTag];
104
[[view window] makeFirstResponder:view];
105
+ NSAccessibilityPostNotification(view, NSAccessibilityLayoutChangedNotification);
106
});
107
}
108
0 commit comments