Skip to content

feat: Run shadow and color CSS transitions on Core Animation#9656

Open
MatiPl01 wants to merge 1 commit into
@matipl01/css-platform-routing-eligibilityfrom
@matipl01/css-platform-shadow-color-props
Open

feat: Run shadow and color CSS transitions on Core Animation#9656
MatiPl01 wants to merge 1 commit into
@matipl01/css-platform-routing-eligibilityfrom
@matipl01/css-platform-shadow-color-props

Conversation

@MatiPl01

Copy link
Copy Markdown
Member

Summary

Stacked on #9655.

Adds shadowOpacity, shadowRadius, shadowOffset, shadowColor, backgroundColor and borderColor to the set of CSS transition properties that run on Core Animation (behind IOS_CSS_CORE_ANIMATION).

Shadow properties always live on the view's main layer. Background and border colors route only while RN uses Core Animation border rendering for the view (mirrored useCoreAnimationBorderRendering condition) - otherwise RN draws them into sublayers that are rebuilt on every commit, so such views keep using the loop.

Test plan

  • -fsyntax-only compile check, clang-format clean
  • Needs device verification with the IOS_CSS_CORE_ANIMATION flag enabled

@MatiPl01 MatiPl01 self-assigned this Jun 11, 2026
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch from d418cd8 to 9118a15 Compare June 12, 2026 00:00
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-routing-eligibility branch 2 times, most recently from fc9dfc8 to 47a4295 Compare June 12, 2026 08:09
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch from 9118a15 to 3c385cc Compare June 12, 2026 08:09
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-routing-eligibility branch from 47a4295 to 7964685 Compare June 12, 2026 10:19
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch from 3c385cc to 5a1dcdf Compare June 12, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant