Closed
Description
Hi,
I have an issue with parsing the aspect-ratio property.
Steps to reproduce
- Go to https://csstox.surge.sh/
- Paste this code:
aspect-ratio: 4/3;
- Output is:
"aspectRatio": "4/3"
instead of the"aspectRatio": 4/3
I do understand the rule of this lib described in the README:
Converts all number-like values to numbers, and string-like to strings.
but "4/3"
is not a valid CSS or React native styles value.
Worth to mention that the "1/1"
value works on iOS but crashes the app on Android.
Am I doing something wrong, or it should be fixed in the lib? :)
If it should be fixed I can help with the contribution (if it's needed)
Thanks in advance,
@MarchewkaMatthew
Metadata
Metadata
Assignees
Labels
No labels