Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JS animated node value updating when listener is attached
Summary: The JS-side animated node values were not being updated on AnimatedValue (and thus AnimatedValueXY); however, the native event "onAnimatedValueUpdate" is being handled properly in AnimatedNode. It turns out that single underscore prefixed methods are obfuscated at FB. And thus AnimatedValue._onAnimatedValueUpdateReceived was not getting called. Changing the method name to double underscore as a way to denote "protected" fixes the issue. Changelog: [General][Fixed] - JS animated node value updates properly when listener is attached Reviewed By: yungsters Differential Revision: D33962038 fbshipit-source-id: c4f60e1f1ccc0cef3e65b89034bdb91376a26416
- Loading branch information