Skip to content

Fix transformOrigin conversion ignoring unit type - #54092

Closed
lenaic wants to merge 1 commit into
react:mainfrom
lenaic:export-D84165034
Closed

Fix transformOrigin conversion ignoring unit type#54092
lenaic wants to merge 1 commit into
react:mainfrom
lenaic:export-D84165034

Conversation

@lenaic

@lenaic lenaic commented Oct 8, 2025

Copy link
Copy Markdown

Summary:
The transformOrigin conversion didn't call into the toDynamic conversion for the underlying ValueUnit instances for the x and y coordinates. This diff fixes the conversion so that percentages would be correctly converted.

Changelog: [Internal]

Differential Revision: D84165034

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 8, 2025
@meta-codesync

meta-codesync Bot commented Oct 8, 2025

Copy link
Copy Markdown

@lenaic has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84165034.

Summary:

The `transformOrigin` conversion didn't call into the `toDynamic` conversion for the underlying `ValueUnit` instances for the x and y coordinates. This diff fixes the conversion so that percentages would be correctly converted.

Changelog: [Internal]

Differential Revision: D84165034
@meta-codesync meta-codesync Bot closed this in 9afd6bb Oct 8, 2025
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 8, 2025
@meta-codesync

meta-codesync Bot commented Oct 8, 2025

Copy link
Copy Markdown

This pull request has been merged in 9afd6bb.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by Nick Lefever in 9afd6bb

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants