Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2715 Override text-transform: capitalize behavior in Text component … #2716

Closed
wants to merge 1 commit into from

Conversation

Mak-3
Copy link

@Mak-3 Mak-3 commented Sep 22, 2024

To align the behavior of text-transform: capitalize in react-native-web with React Native, we should implement a custom transformation that:

  1. Converts the entire string to lowercase.
  2. Capitalizes the first letter of each word.

This change will provide a consistent experience across both platforms.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e7b4d37:

Sandbox Source
react-native-web-examples Configuration

@necolas
Copy link
Owner

necolas commented Oct 15, 2024

See #2715

@necolas necolas closed this Oct 15, 2024
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