Skip to content

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

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

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 2 times, most recently from 12b2e39 to 7ead0ff Compare June 15, 2026 01:30
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch 2 times, most recently from 99e1180 to d25095a Compare June 15, 2026 01:54
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-border-props branch 2 times, most recently from 1aaf3db to d1f0069 Compare June 15, 2026 08:12
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch from d25095a to 830492b Compare June 15, 2026 08:12
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-border-props branch from d1f0069 to d5f7d4e Compare June 15, 2026 08:39
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch 2 times, most recently from 5cb1782 to 11e3081 Compare June 15, 2026 10:03
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-border-props branch from d5f7d4e to 4a73f19 Compare June 15, 2026 10:03
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch from 11e3081 to eab37fc Compare June 15, 2026 10:56
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-border-props branch 2 times, most recently from 1afff13 to dfc3207 Compare June 15, 2026 11:45
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch 2 times, most recently from a68b970 to 5f80493 Compare June 16, 2026 08:43
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-border-props branch 2 times, most recently from 3f5f3d8 to 1de54e0 Compare June 16, 2026 09:51
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch from 5f80493 to 41bcf18 Compare June 16, 2026 09:51
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-border-props branch from 1de54e0 to 7a546f0 Compare June 16, 2026 12:49
@MatiPl01 MatiPl01 force-pushed the @matipl01/css-platform-shadow-color-props branch from 41bcf18 to c779dae Compare June 16, 2026 12:49
@MatiPl01

Copy link
Copy Markdown
Member Author

Superseded by #9689, which routes borderWidth and borderRadius (and the background/border colors) on top of the merged #9654. The border eligibility condition will land in a separate eligibility follow-up. Closing in favor of #9689.

@MatiPl01 MatiPl01 closed this Jun 17, 2026
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