Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync AnimatedValue JS node value when animation completes #37779

Closed
wants to merge 1 commit into from

Conversation

genkikondo
Copy link
Contributor

Summary:
For natively driven animations, we now get the final value of the animation on JS side in the animation end callback. We sync this value into the JS-side AnimatedValue node.

Changelog:
[General][Changed] - Sync AnimatedValue JS node value when animation completes

Differential Revision: D46498320

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jun 8, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46498320

@analysis-bot
Copy link

analysis-bot commented Jun 8, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,747,872 +68
android hermes armeabi-v7a 8,060,482 +75
android hermes x86 9,239,485 +74
android hermes x86_64 9,089,290 +76
android jsc arm64-v8a 9,310,269 +10
android jsc armeabi-v7a 8,500,214 +14
android jsc x86 9,372,776 +18
android jsc x86_64 9,626,683 +27

Base commit: 7bcff07
Branch: main

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46498320

genkikondo added a commit to genkikondo/react-native that referenced this pull request Jun 9, 2023
…7779)

Summary:
Pull Request resolved: facebook#37779

For natively driven animations, we now get the final value of the animation on JS side in the animation end callback. We sync this value into the JS-side AnimatedValue node.

Changelog:
[General][Changed] - Sync AnimatedValue JS node value when animation completes

Differential Revision: D46498320

fbshipit-source-id: bde6141b78f1ab7d97103e8858db755de9f0abc3
…7779)

Summary:
Pull Request resolved: facebook#37779

For natively driven animations, we now get the final value of the animation on JS side in the animation end callback. We sync this value into the JS-side AnimatedValue node.

Changelog:
[General][Changed] - Sync AnimatedValue JS node value when animation completes

Differential Revision: D46498320

fbshipit-source-id: d72f1bf411ad286fd6e0143a1088527ccc982840
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46498320

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 9, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 51cea49.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants