Skip to content

[pull] main from facebook:main#839

Merged
pull[bot] merged 2 commits intoSuperoldman96:mainfrom
facebook:main
Feb 19, 2026
Merged

[pull] main from facebook:main#839
pull[bot] merged 2 commits intoSuperoldman96:mainfrom
facebook:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Feb 19, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

NickGerleman and others added 2 commits February 18, 2026 17:37
Summary:
Pull Request resolved: #55606

D86657563, which enabled `link` role by default in JS for pressable text, exposed a bug in Facsimile, where we see hit testing, both against ClickableSpan, and normal React Tag based hit testing. We want the clickable spans for a11y/keyboarding, and can have non RN ClickableSpan that don't hit test via normal react mechanism.

Don't remember how we tricked ReactTextView to not run into this. joevilches might.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D93589114

fbshipit-source-id: ffb2c2bf2d5ffce10b7c805be550982efc277703
Summary:
Pull Request resolved: #55566

In Animation Backend, we allow animation frameowrks to request a js-thread sync of the current animation state. It is used by c++ Animated, and is meant to serve as a way to push animation changes to react through RSNRU, after the animation finsishes. This way we ensure that subsequent rerenders of the component don't bring back the old style value.

This approach is currently broken when the animation performs any main-thread commits, as in this case the `runtimeShadowNodeReference_` is not copied to new node revisions, so the js-thread sync commit cannot use RSNRU properly. The bug was not visible, because we don't clean up the registry in that case, we only do it for react commits.

This PR fixes the issue for the case when `updateRuntimeShadowNodeReferencesOnCommitThread` is enabled, as this fixes the RSNRU propagation, so we can clean-up the registry. If the flag is disabled, we don't cleanup the registry, as we want the next react commit to make sure the animation state is not overwritten.

# Changelog

[General][Added] - test for the Animation Backend js sync
[General][Changed] - TesterAnimationChoreographer changes the thread_local RSNRU flag when running animation update, to better simulate the real application use-case
[General][Changed] - AnimationBackend now cleans-up the AnimatedPropsRegistry after the js sync when `updateRuntimeShadowNodeReferencesOnCommitThread` is enabled

Reviewed By: zeyap

Differential Revision: D93414839

fbshipit-source-id: 1c2566d117c2da563ae35e95cefc5ea08313fc7d
@pull pull bot locked and limited conversation to collaborators Feb 19, 2026
@pull pull bot added the ⤵️ pull label Feb 19, 2026
@pull pull bot merged commit b38428c into Superoldman96:main Feb 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant