Skip to content

[fix] StyleSheet: output valid CSS for logical transitionProperty values - #2972

Merged
zoontek merged 4 commits into
masterfrom
fix-transition-property-localization
Nov 19, 2026
Merged

zoontek merged 4 commits into
masterfrom
fix-transition-property-localization

Conversation

@zoontek

@zoontek zoontek commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator
  • Logical names in transitionProperty (camelCase or kebab-case) now give valid kebab-case physical names: marginInlineStart / margin-inline-start → margin-left (LTR), margin-right (RTL).
  • Inline styles no longer join converted names with spaces, which is invalid CSS.

@zoontek
zoontek requested a review from Kudo November 18, 2026 16:05
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Size Change: +82 B (+0.09%)

Total Size: 95.8 kB

📦 View Changed
Filename Size Change
packages/react-native-web/dist/exports/StyleSheet/compiler/index.js 1.96 kB +56 B (+2.94%)
packages/react-native-web/dist/exports/StyleSheet/preprocess.js 1.57 kB +26 B (+1.69%)

compressed-size-action

@zoontek
zoontek merged commit 0cbcdde into master Nov 19, 2026
5 checks passed
@zoontek
zoontek deleted the fix-transition-property-localization branch November 19, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants