Skip to content

feat: Run border width and radius CSS transitions on Core Animation#9657

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

feat: Run border width and radius CSS transitions on Core Animation#9657
MatiPl01 wants to merge 1 commit into
@matipl01/css-platform-shadow-color-propsfrom
@matipl01/css-platform-border-props

Conversation

@MatiPl01

Copy link
Copy Markdown
Member

Summary

Stacked on #9656.

Adds borderWidth and borderRadius to the platform-routed CSS transition properties (behind IOS_CSS_CORE_ANIMATION). borderRadius maps to CALayer's cornerRadius keypath (apply and remove paths).

Both properties route only while RN uses Core Animation border rendering for the view; views drawn through RN's rasterized border path keep transitioning on the loop, which redraws the border every frame.

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-border-props branch from 715ceb7 to 5d4c848 Compare June 12, 2026 00:00
@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-border-props branch from 5d4c848 to 2884c02 Compare June 12, 2026 08:09
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch from 3c385cc to 5a1dcdf Compare June 12, 2026 10:20
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-border-props branch from 2884c02 to 12b2e39 Compare June 12, 2026 10:23
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