You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected flexDirection: "column-reverse" / "row-reverse" and flexWrap: "wrap-reverse" respectively. Setting flex-direction: column-reverse or flex-wrap: wrap-reverse directly works.
In src/transforms/flexFlow.ts, FLEX_WRAP and FLEX_DIRECTION use unanchored regexes (/(nowrap|wrap|wrap-reverse)/ and /(row|row-reverse|column|column-reverse)/), so node.value.match(regExp) matches the wrap, row, or column prefix first. Anchoring them with /^(...)$/ (as border.ts and font.ts do) fixes the issue.
Versions tested: css-to-react-native 3.2.0 and master (3f4899b) on Node v26.13.0.
Activity