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

textTransform='uppercase' doesn't work #5668

Closed
chrisglein opened this issue Aug 7, 2020 · 0 comments · Fixed by #5672
Closed

textTransform='uppercase' doesn't work #5668

chrisglein opened this issue Aug 7, 2020 · 0 comments · Fixed by #5672

Comments

@chrisglein
Copy link
Member

chrisglein commented Aug 7, 2020

Environment

npx react-native --version
4.10.1
npx react-native run-windows --info

  System:
    CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
    Memory: 3.66 GB / 15.92 GB
  Binaries:
    Node: 12.10.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.10.3 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    react: ^16.13.1 => 16.13.1
    react-native: ^0.62.0-0 => 0.62.2
    react-native-windows: ^0.62.0-0 => 0.62.2
  Installed UWP SDKs:
    10.0.14393.0
    10.0.17763.0
    10.0.18362.0

reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock
    AllowDevelopmentWithoutDevLicense    REG_DWORD    0x1
    AllowAllTrustedApps    REG_DWORD    0x1

Steps To Reproduce

Use the textTransform property.

Expected Results

Text content should be made uppercase (this works on iOS, Android, and react-native-web).
Note this property is called out in the mega-issue #2207, but mostly that's about theming, not about not implemented Text properties.

Snack, code example, screenshot, or link to a repository:

Snack

<Text style={styles.h1}>Some Content</Text>
const styles = StyleSheet.create({
  h1: {
    fontSize: 24,
    textTransform: 'uppercase',
  },
});
@ghost ghost added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Aug 7, 2020
@chrisglein chrisglein added this to the Backlog milestone Aug 7, 2020
@asklar asklar self-assigned this Aug 9, 2020
@chrisglein chrisglein removed the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Aug 10, 2020
@NickGerleman NickGerleman linked a pull request Aug 11, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants