react-native-marquee-animation 0.2.0 → 0.2.2

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/README.md CHANGED
@@ -20,15 +20,15 @@ https://github.com/user-attachments/assets/9f4e1655-0f2c-468f-b0e4-25af40de5631
20
20
 
21
21
  ## Compatibility
22
22
 
23
- | Requirement | Supported |
24
- | ------------ | ---------------------------------------- |
25
- | React Native | 0.85.x |
26
- | React | 19.2.x |
27
- | Expo | SDK 56 development and production builds |
28
- | iOS | 17 and newer |
29
- | Android | API 24 and newer |
30
- | Architecture | New Architecture (Fabric) only |
31
- | Expo Go | No |
23
+ | Requirement | Supported |
24
+ | ------------ | ---------------------------------------------- |
25
+ | React Native | 0.85.x to 0.88.x |
26
+ | React | 19.2.x and 19.3.x |
27
+ | Expo | SDK 56 to 58 development and production builds |
28
+ | iOS | 17 and newer |
29
+ | Android | API 24 and newer |
30
+ | Architecture | New Architecture (Fabric) only |
31
+ | Expo Go | No |
32
32
 
33
33
  ## Installation
34
34
 
@@ -239,6 +239,8 @@ private enum InteractiveDisplayMode {
239
239
  freezeMotion()
240
240
  period = 0
241
241
  replicatorLayer.instanceCount = 1
242
+ // Fabric recycles the removed view; a leftover offset would shift whatever reuses it.
243
+ subview.layer.transform = CATransform3DIdentity
242
244
  }
243
245
  super.willRemoveSubview(subview)
244
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-marquee-animation",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Production-grade generic native marquee for React Native",
5
5
  "main": "./lib/module/index.js",
6
6
  "react-native": "./src/index.ts",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "peerDependencies": {
117
117
  "react": ">=19.2.0 <20.0.0",
118
- "react-native": ">=0.85.0 <0.87.0"
118
+ "react-native": ">=0.85.0 <0.89.0"
119
119
  },
120
120
  "workspaces": [
121
121
  "example"