react-native-marquee-animation 0.2.0 → 0.2.1

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.
@@ -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.1",
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",