Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork149
Fix transform origin#821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
cknitt commentedDec 9, 2024
Ok, I get the split in x and y 👍, but can't we keep |
Freddy03h commentedDec 9, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
No because I found that those keywords aren't handled in the array syntax :( I'll open an issue on the |
fd631f4 intomainUh oh!
There was an error while loading.Please reload this page.
The typescript type on
transformOriginis very weakhttps://github.com/facebook/react-native/blob/4165884b700341ba549ed8385480fd98128e7bb1/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts#L296
Compare to the
processTransformOriginfunction that analyse the transformOrigin value on DEV modehttps://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/StyleSheet/processTransformOrigin.js