react-native-windows 0.81.29 → 0.81.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,7 +100,7 @@ void RootComponentView::SetFocusedComponent(
100
100
  m_focusedComponent = value;
101
101
  if (focusState == winrt::Microsoft::ReactNative::FocusState::Programmatic) {
102
102
  focusState =
103
- (!m_useKeyboardForProgrammaticFocus || m_focusState == winrt::Microsoft::ReactNative::FocusState::Pointer)
103
+ (!m_useKeyboardForProgrammaticFocus || m_focusState != winrt::Microsoft::ReactNative::FocusState::Keyboard)
104
104
  ? winrt::Microsoft::ReactNative::FocusState::Pointer
105
105
  : winrt::Microsoft::ReactNative::FocusState::Keyboard;
106
106
  }
@@ -1329,7 +1329,7 @@ void WindowsTextInputComponentView::updateLayoutMetrics(
1329
1329
  facebook::react::LayoutMetrics const &oldLayoutMetrics) noexcept {
1330
1330
  // Set Position & Size Properties
1331
1331
 
1332
- if ((layoutMetrics.pointScaleFactor != m_layoutMetrics.pointScaleFactor)) {
1332
+ if (m_textServices && layoutMetrics.pointScaleFactor > 0) {
1333
1333
  LRESULT res;
1334
1334
  winrt::check_hresult(m_textServices->TxSendMessage(
1335
1335
  (WM_USER + 328), // EM_SETDPI
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.81.29</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.81.31</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>81</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>29</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>31</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>af7fbcfa2e123aa2149f9085348207d5a1e5ca99</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>05739f63c54727e6f87c8b282ad84a06866801ec</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.81.29",
3
+ "version": "0.81.31",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",