Closed artsra closed 4 years ago
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue persists.
Steps to Reproduce
Using "version": "0.12.0"
See snack below. Removing the two indicated lines in my_component fixes the vertical transform I think this is a problem here:
At some point the following prop is processed by calcStyleValue:
calcStyleValue
finds that a new Value().calc() must be performed, but the calc() just proxies the value because it's an array. The new (proxied) value is returned but math operations are not done.I'm not sure how to fix this, what would be the best solution?
Try in Expo
https://snack.expo.io/@artsr/extended-stylesheet-simple
Expected Behavior
The Math operations were processed correctly
Actual Behavior
They are not processed, and result in errors. See attached image. Ignored on web platform but makes transform stop working.
Show the code
See snack
Environment
command not found: react-native (this is an expo project)