Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix view.focus function",
"packageName": "react-native-windows",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,13 @@ exports[`Pressable Tests Pressables can have event handlers, hover and click 2`]
"Name": "pressOut",
"TextRangePattern.GetText": "pressOut",
},
{
"AutomationId": "",
"ControlType": 50020,
"LocalizedControlType": "text",
"Name": "focus",
"TextRangePattern.GetText": "focus",
},
{
"AutomationId": "",
"ControlType": 50020,
Expand Down Expand Up @@ -891,6 +898,10 @@ exports[`Pressable Tests Pressables can have event handlers, hover and click 2`]
"Type": "Microsoft.ReactNative.Composition.ParagraphComponentView",
"_Props": {},
},
{
"Type": "Microsoft.ReactNative.Composition.ParagraphComponentView",
"_Props": {},
},
],
},
"Visual Tree": {
Expand Down Expand Up @@ -991,6 +1002,18 @@ exports[`Pressable Tests Pressables can have event handlers, hover and click 2`]
},
],
},
{
"Offset": "11, 85, 0",
"Size": "874, 20",
"Visual Type": "SpriteVisual",
"__Children": [
{
"Offset": "0, 0, 0",
"Size": "874, 20",
"Visual Type": "SpriteVisual",
},
],
},
],
},
}
Expand Down
4 changes: 4 additions & 0 deletions vnext/Microsoft.ReactNative/ReactHost/ReactHost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ class ReactNativeWindowsFeatureFlags : public facebook::react::ReactNativeFeatur
return true;
}

bool enableImperativeFocus() override {
return true;
}

bool fuseboxEnabledRelease() override {
return true; // Enable Fusebox (modern CDP backend) by default for React Native Windows
}
Expand Down
Loading