@office-iss/react-native-win32 0.74.2 → 0.74.3
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.
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Mon,
|
|
5
|
+
"date": "Mon, 20 May 2024 15:15:26 GMT",
|
|
6
|
+
"version": "0.74.3",
|
|
7
|
+
"tag": "@office-iss/react-native-win32_v0.74.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "nate@bracy.dev",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "481f89da064d5a33f4b5b79088dc760bd49f6dd2",
|
|
14
|
+
"comment": "fix(TextInput/isFocused): correctly handle null focused input"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Mon, 06 May 2024 15:17:11 GMT",
|
|
6
21
|
"version": "0.74.2",
|
|
7
22
|
"tag": "@office-iss/react-native-win32_v0.74.2",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
# Change Log - @office-iss/react-native-win32
|
|
2
2
|
|
|
3
|
-
This log was last generated on Mon,
|
|
3
|
+
This log was last generated on Mon, 20 May 2024 15:15:26 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.74.
|
|
7
|
+
## 0.74.3
|
|
8
8
|
|
|
9
|
-
Mon,
|
|
9
|
+
Mon, 20 May 2024 15:15:26 GMT
|
|
10
10
|
|
|
11
11
|
### Patches
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- fix(TextInput/isFocused): correctly handle null focused input (nate@bracy.dev)
|
|
14
14
|
|
|
15
|
+
## 0.74.2
|
|
16
|
+
|
|
17
|
+
Mon, 06 May 2024 15:17:11 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Integrate 0.74.1 (30809111+acoates-ms@users.noreply.github.com)
|
|
22
|
+
|
|
15
23
|
## 0.74.1
|
|
16
24
|
|
|
17
25
|
Wed, 01 May 2024 20:37:36 GMT
|
|
@@ -1314,9 +1314,13 @@ function InternalTextInput(props: Props): React.Node {
|
|
|
1314
1314
|
);
|
|
1315
1315
|
}
|
|
1316
1316
|
},
|
|
1317
|
-
// TODO: Fix this returning true on null === null, when no input is focused
|
|
1318
1317
|
isFocused(): boolean {
|
|
1319
|
-
|
|
1318
|
+
const currentlyFocusedInput =
|
|
1319
|
+
TextInputState.currentlyFocusedInput();
|
|
1320
|
+
return (
|
|
1321
|
+
currentlyFocusedInput !== null &&
|
|
1322
|
+
currentlyFocusedInput === inputRef.current
|
|
1323
|
+
);
|
|
1320
1324
|
},
|
|
1321
1325
|
getNativeRef(): ?React.ElementRef<HostComponent<mixed>> {
|
|
1322
1326
|
return inputRef.current;
|