mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b3f7d53b87
Summary: Fixes https://github.com/facebook/react-native/issues/23712 Currently, It seems like `__nativeAnimatedValueListener` is not listening to the correct `onAnimatedValueUpdate` events if component was re-mounted. In this PR I'm attaching a new listener if the native view tag has changed. [General] [Fixed] - Fixed Animated.Value value after animation if component was re-mounted Pull Request resolved: https://github.com/facebook/react-native/pull/24571 Differential Revision: D15237431 Pulled By: cpojer fbshipit-source-id: 1fe4e290ab45dfe6d1d364d8d7384aabf18d6610