Skip to content

(cherry-pick) Add support for percentage values for border radius in fast path on Android #7997

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

Conversation

MatiPl01
Copy link
Member

@MatiPl01 MatiPl01 commented Aug 4, 2025

Cherry pick of the #7979

@MatiPl01 MatiPl01 self-assigned this Aug 4, 2025
@MatiPl01 MatiPl01 mentioned this pull request Aug 4, 2025
15 tasks
@MatiPl01 MatiPl01 requested a review from tomekzaw August 4, 2025 12:26
@MatiPl01 MatiPl01 force-pushed the @matipl01/cherry-pick/support-all-synchronous-props branch from 812489c to e8c9c94 Compare August 5, 2025 10:19
Base automatically changed from @matipl01/cherry-pick/support-all-synchronous-props to 4.0-stable August 5, 2025 10:19
…ndroid (#7979)

## Summary

This PR adds support for animating border radius properties (i.e.
`border((Top|Bottom)(Left|Right|Start|End)|(Start|End){2})?Radius`)
using percentage values (i.e. `${number)%`) in fast path using
`synchronouslyUpdateViewOnUIThread` on Android when
`ANDROID_SYNCHRONOUSLY_UPDATE_UI_PROPS` Reanimated static feature flag
is enabled.

## Test plan

Open `SynchronousPropsExample` and scroll down to `borderRadius` etc.
@MatiPl01 MatiPl01 force-pushed the @matipl01/cherry-pick/border-radius-percentage-fast-path-android branch from 29f406d to 24cf718 Compare August 5, 2025 10:19
@MatiPl01 MatiPl01 merged commit 0ba3fac into 4.0-stable Aug 5, 2025
16 checks passed
@MatiPl01 MatiPl01 deleted the @matipl01/cherry-pick/border-radius-percentage-fast-path-android branch August 5, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants