feat: Run shadow CSS transitions on Core Animation#9685
Merged
Conversation
Base automatically changed from
@matipl01/css-platform-transition-values
to
main
June 17, 2026 15:31
Add shadowColor, shadowOpacity, shadowRadius and shadowOffset to the platform-routed catalog. They ride the existing value-agnostic apply with no shadow-node eligibility: shadows are main-layer properties, independent of RN's border/background fast path. Behind IOS_CSS_CORE_ANIMATION.
MatiPl01
force-pushed
the
@matipl01/css-platform-shadow-props
branch
from
June 17, 2026 15:40
5c30605 to
1a31c09
Compare
tjzel
approved these changes
Jun 17, 2026
This was referenced Jun 17, 2026
pull Bot
pushed a commit
to esinanturan/react-native-reanimated
that referenced
this pull request
Jun 17, 2026
…ftware-mansion#9689) Stacked on software-mansion#9685. Adds `backgroundColor`, `borderColor`, `borderWidth` and `borderRadius` to the CSS transition properties run on Core Animation (`borderRadius` maps to CALayer's `cornerRadius`). Known limitation (TODO in code): these route unconditionally, but RN rasterizes the border and snaps the value when a view fails `useCoreAnimationBorderRendering`. A follow-up will run them on the platform only when it can produce a correct result. Verified in the simulator: on a CA-eligible (clipping) view all four interpolate smoothly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #9654.
Adds
shadowColor,shadowOpacity,shadowRadiusandshadowOffsetto the CSS transition properties run on Core Animation, reusing the same value-agnostic apply as opacity.Verified in the simulator: all four interpolate smoothly on Core Animation.