@react-navigation/native 7.0.0-alpha.13 → 7.0.0-alpha.14

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.
@@ -20,7 +20,7 @@ function getScrollableNode(ref) {
20
20
  // We need to use `getScrollResponder` to get access to the scroll responder
21
21
  return ref.current.getScrollResponder();
22
22
  } else if ('getNode' in ref.current) {
23
- // When a `ScrollView` is wraped in `Animated.createAnimatedComponent`
23
+ // When a `ScrollView` is wrapped in `Animated.createAnimatedComponent`
24
24
  // we need to use `getNode` to get the ref to the actual scrollview.
25
25
  // Note that `getNode` is deprecated in newer versions of react-native
26
26
  // this is why we check if we already have a scrollable node above.
@@ -12,7 +12,7 @@ function getScrollableNode(ref) {
12
12
  // We need to use `getScrollResponder` to get access to the scroll responder
13
13
  return ref.current.getScrollResponder();
14
14
  } else if ('getNode' in ref.current) {
15
- // When a `ScrollView` is wraped in `Animated.createAnimatedComponent`
15
+ // When a `ScrollView` is wrapped in `Animated.createAnimatedComponent`
16
16
  // we need to use `getNode` to get the ref to the actual scrollview.
17
17
  // Note that `getNode` is deprecated in newer versions of react-native
18
18
  // this is why we check if we already have a scrollable node above.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@react-navigation/native",
3
3
  "description": "React Native integration for React Navigation",
4
- "version": "7.0.0-alpha.13",
4
+ "version": "7.0.0-alpha.14",
5
5
  "keywords": [
6
6
  "react-native",
7
7
  "react-navigation",
@@ -37,7 +37,7 @@
37
37
  "clean": "del lib"
38
38
  },
39
39
  "dependencies": {
40
- "@react-navigation/core": "^7.0.0-alpha.12",
40
+ "@react-navigation/core": "^7.0.0-alpha.13",
41
41
  "escape-string-regexp": "^4.0.0",
42
42
  "fast-deep-equal": "^3.1.3",
43
43
  "nanoid": "3.3.7",
@@ -72,5 +72,5 @@
72
72
  ]
73
73
  ]
74
74
  },
75
- "gitHead": "e5eacec2515bbc499c7936df387da7cc0198ed9e"
75
+ "gitHead": "d0b5489cb3eb8092d05b8d058ba5774d0538cec6"
76
76
  }
@@ -39,7 +39,7 @@ function getScrollableNode(ref: React.RefObject<ScrollableWrapper>) {
39
39
  // We need to use `getScrollResponder` to get access to the scroll responder
40
40
  return ref.current.getScrollResponder();
41
41
  } else if ('getNode' in ref.current) {
42
- // When a `ScrollView` is wraped in `Animated.createAnimatedComponent`
42
+ // When a `ScrollView` is wrapped in `Animated.createAnimatedComponent`
43
43
  // we need to use `getNode` to get the ref to the actual scrollview.
44
44
  // Note that `getNode` is deprecated in newer versions of react-native
45
45
  // this is why we check if we already have a scrollable node above.