File tree Expand file tree Collapse file tree 7 files changed +156
-226
lines changed Expand file tree Collapse file tree 7 files changed +156
-226
lines changed Original file line number Diff line number Diff line change 13
13
},
14
14
"dependencies" : {
15
15
"react" : " 18.3.1" ,
16
- "@callstack/react-native-visionos" : " 1000.0.0 "
16
+ "@callstack/react-native-visionos" : " 0.77.0-main "
17
17
},
18
18
"devDependencies" : {
19
19
"@babel/core" : " ^7.25.2" ,
Original file line number Diff line number Diff line change 19
19
" dist"
20
20
],
21
21
"devDependencies" : {
22
- "metro-resolver" : " ^0.81.0-alpha.0 "
22
+ "metro-resolver" : " ^0.81.0"
23
23
},
24
24
"engines" : {
25
25
"node" : " >=18"
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ - (UIView *)viewWithModuleName:(NSString *)moduleName
157
157
surfaceHostingProxyRootView.backgroundColor = [UIColor clearColor ];
158
158
#else
159
159
surfaceHostingProxyRootView.backgroundColor = [UIColor systemBackgroundColor ];
160
+ #endif
160
161
if (_configuration.customizeRootView != nil ) {
161
162
_configuration.customizeRootView (surfaceHostingProxyRootView);
162
163
}
Original file line number Diff line number Diff line change @@ -610,6 +610,7 @@ BOOL RCTRunningInAppExtension(void)
610
610
}
611
611
612
612
UIScene *sceneToUse = foregroundActiveScene ? foregroundActiveScene : foregroundInactiveScene;
613
+ UIWindowScene *windowScene = (UIWindowScene *)sceneToUse;
613
614
614
615
#if TARGET_OS_VISION
615
616
// Ornaments are supported only on visionOS.
Original file line number Diff line number Diff line change @@ -321,11 +321,13 @@ - (void)_keyboardWillChangeFrame:(NSNotification *)notification
321
321
// Text field active region is below visible area with keyboard - update diff to bring into view
322
322
contentDiff = endFrame.origin .y - focusEnd;
323
323
} else {
324
+ #if !TARGET_OS_VISION
324
325
UIView *inputAccessoryView = _firstResponderViewOutsideScrollView.inputAccessoryView ;
325
326
if (inputAccessoryView) {
326
327
// Text input view is within the inputAccessoryView.
327
328
contentDiff = endFrame.origin .y - beginFrame.origin .y ;
328
329
}
330
+ #endif
329
331
}
330
332
} else if (endFrame.origin .y <= beginFrame.origin .y ) {
331
333
// Keyboard opened for other reason
You can’t perform that action at this time.
0 commit comments