Skip to content
Open
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 Focus Outline for Programmatical focus",
"packageName": "react-native-windows",
"email": "66076509+vineethkuttan@users.noreply.github.com",
"dependentChangeType": "patch"
}
8 changes: 7 additions & 1 deletion change/react-native-windows-capture-null-guard-main.json
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
{"type":"prerelease","dependentChangeType":"patch","email":"collindanielschneide@gmail.com","packageName":"react-native-windows","comment":"Null-check the capturing component view before notifying OnPointerCaptureLost (crash when the capturing component was unmounted)"}
{
"type": "prerelease",
"dependentChangeType": "patch",
"email": "collindanielschneide@gmail.com",
"packageName": "react-native-windows",
"comment": "Null-check the capturing component view before notifying OnPointerCaptureLost (crash when the capturing component was unmounted)"
}
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void RootComponentView::SetFocusedComponent(
m_focusedComponent = value;
if (focusState == winrt::Microsoft::ReactNative::FocusState::Programmatic) {
focusState =
(!m_useKeyboardForProgrammaticFocus || m_focusState == winrt::Microsoft::ReactNative::FocusState::Pointer)
(!m_useKeyboardForProgrammaticFocus || m_focusState != winrt::Microsoft::ReactNative::FocusState::Keyboard)
? winrt::Microsoft::ReactNative::FocusState::Pointer
: winrt::Microsoft::ReactNative::FocusState::Keyboard;
}
Expand Down
Loading