react-native-windows 0.70.8 → 0.70.9
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.
|
@@ -253,22 +253,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
|
|
|
253
253
|
const viewRef = useRef<React.ElementRef<typeof View> | null>(null);
|
|
254
254
|
useImperativeHandle(forwardedRef, () => viewRef.current);
|
|
255
255
|
|
|
256
|
-
// [Windows
|
|
257
|
-
const _onBlur = (event: BlurEvent) => {
|
|
258
|
-
TextInputState.blurInput(viewRef.current);
|
|
259
|
-
if (props.onBlur) {
|
|
260
|
-
props.onBlur(event);
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
const _onFocus = (event: FocusEvent) => {
|
|
265
|
-
TextInputState.focusInput(viewRef.current);
|
|
266
|
-
if (props.onFocus) {
|
|
267
|
-
props.onFocus(event);
|
|
268
|
-
}
|
|
269
|
-
};
|
|
270
|
-
// Windows]
|
|
271
|
-
|
|
272
256
|
const android_rippleConfig = useAndroidRippleForView(android_ripple, viewRef);
|
|
273
257
|
|
|
274
258
|
const [pressed, setPressed] = usePressState(testOnly_pressed === true);
|
|
@@ -360,10 +344,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
|
|
|
360
344
|
<View
|
|
361
345
|
{...restPropsWithDefaults}
|
|
362
346
|
{...eventHandlers}
|
|
363
|
-
// [Windows
|
|
364
|
-
onBlur={_onBlur}
|
|
365
|
-
onFocus={_onFocus}
|
|
366
|
-
// Windows]
|
|
367
347
|
ref={viewRef}
|
|
368
348
|
style={typeof style === 'function' ? style({pressed}) : style}>
|
|
369
349
|
{typeof children === 'function' ? children({pressed}) : children}
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.70.
|
|
13
|
+
<ReactNativeWindowsVersion>0.70.9</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>70</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>9</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
18
|
</PropertyGroup>
|
|
19
19
|
</Project>
|