When the system font size changes, the text sizes in the application are not updated
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C++
- Sterne
- 127k
- Forks
- 25.3k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Description
Please watch the video to understand the issue better.
import { View, Text, StatusBar } from "react-native";
export default function App() {
return (
<View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<StatusBar animated={true} translucent={true} barStyle={"dark-content"} backgroundColor={"transparent"} />
<Text style={{ fontSize: 14 }}>Hesap Defterim</Text>
</View>
);
}
https://github.com/user-attachments/assets/4254a949-f596-4e64-bf43-58f51fd3842c
Steps to reproduce
npx @react-native-community/cli@latest init TestProject --package-name com.test.project
npx react-native run-android
React Native Version
0.81.4
Affected Platforms
Runtime - Android
Output of npx @react-native-community/cli info
System:
OS: Windows 11 10.0.26200
CPU: "(24) x64 AMD Ryzen 9 7900X 12-Core Processor "
Memory: 12.94 GB / 31.60 GB
Binaries:
Node:
version: 24.9.0
path: C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm:
version: 11.6.0
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "36"
Build Tools:
- 35.0.0
- 36.0.0
- 36.1.0
System Images:
- android-36.1 | Google Play Intel x86_64 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-251.26094.121.2513.14007798
Visual Studio: Not Found
Languages:
Java: 17.0.16
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 20.0.0
wanted: 20.0.0
react:
installed: 19.1.0
wanted: 19.1.0
react-native:
installed: 0.81.4
wanted: 0.81.4
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Stacktrace or Logs
N/A
MANDATORY Reproducer
N/A
Screenshots and Videos
https://github.com/user-attachments/assets/4ca8e5d4-6564-41ea-aae8-4c76d6de93e3
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der im Issue gezeigten minimalen App-Komponente und reproduziere sie mithilfe der bereitgestellten React Native CLI-Befehle auf Android. Ändere die Systemschriftgröße, während die App ausgeführt wird, und vergleiche die Text-Darstellung. Als abgeschlossen gilt die Aufgabe, wenn die angezeigte Textgröße aktualisiert wird und der Systemeinstellung entspricht.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, react-native, typescript
- Bereich
- mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100