Skip to content

fix: correct the control points of the predefined ease easing function - #10353

Merged
tjzel merged 2 commits into
mainfrom
@tjzel/fix-native-ease-easing
Aug 20, 2026
Merged

tjzel merged 2 commits into
mainfrom
@tjzel/fix-native-ease-easing

Conversation

@tjzel

@tjzel tjzel commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Note

This pull request was authored by AI on behalf of @tjzel.

Summary

Follow-up to #10344, as reported in #10344 (comment).

The native easing registry defined ease as cubicBezier(0.25, 0.1, 0.25, 0.1), while the CSS specification defines it as cubic-bezier(0.25, 0.1, 0.25, 1). Since ease is the default timingFunction, the default native easing shape differed from web. I changed the last control point from 0.1 to 1.0, matching the already correct definition in EasingConfigs.cpp.

Test plan

The ease easing now matches the web behavior.

Changelog

  • I added an entry to the Unpublished section of each changed package's CHANGELOG.md, or this PR does not change react-native-reanimated or react-native-worklets.

@coderabbitai

coderabbitai Bot commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3a01161f-9dea-4eb9-9013-a95ce5a819b6

📥 Commits

Reviewing files that changed from the base of the PR and between 1f0b70e and 47dc520.

📒 Files selected for processing (2)
  • packages/react-native-reanimated/CHANGELOG.md
  • packages/react-native-reanimated/Common/cpp/reanimated/CSS/easing/EasingFunctions.cpp

📝 Walkthrough

Walkthrough

The predefined CSS ease easing function now uses cubicBezier(0.25, 0.1, 0.25, 1.0). The changelog documents this correction.

Possibly related PRs

Suggested labels: lib: Reanimated


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@tjzel
tjzel merged commit f41b838 into main Aug 20, 2026
16 of 18 checks passed
@tjzel
tjzel deleted the @tjzel/fix-native-ease-easing branch August 20, 2026 15:38
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.

2 participants