Secure text entry flickers on iOS
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C++
- Estrellas
- 127k
- Forks
- 25.3k
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 4
Descripción
Description
On iOS (With a Simulator or a real device), if you have a TextInput component with secureTextEntry={true} and a custom font, the text flickers when you enter a character and remove it.
Note: this also happens with the old renderer.
Steps to reproduce
- Install the application with
yarn ios - Focus on the text input
- Enter a character and then remove it
React Native Version
0.74.3
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of npx react-native info
System:
OS: macOS 14.3
CPU: (10) arm64 Apple M1 Pro
Memory: 98.19 MB / 16.00 GB
Shell:
version: 0.91.0
path: /Users/burakguner/.cargo/bin/nu
Binaries:
Node:
version: 21.7.1
path: ~/.nix-profile/bin/node
Yarn:
version: 4.3.1
path: ~/.nix-profile/bin/yarn
npm:
version: 10.5.0
path: ~/.nix-profile/bin/npm
Watchman:
version: 2024.01.22.00
path: /Users/burakguner/.nix-profile/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/burakguner/.local/share/gem/ruby/3.1.0/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: Hedgehog 2023.1.1 Patch 2 Hedgehog 2023.1.1 Patch 2
Xcode:
version: 15.0.1/15A507
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.8
path: /usr/bin/javac
Ruby:
version: 3.1.4
path: /Users/burakguner/.nix-profile/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.3
wanted: 0.74.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: true
### Stacktrace or Logs
```text
There is no stack trace.
Reproducer
https://github.com/atlj/secure-text-entry-flicker
Screenshots and Videos
https://github.com/facebook/react-native/assets/23079646/7a260380-eb2c-434c-97f3-af14dd51a5af
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con el reproductor secure-text-entry-flicker enlazado y ejecútalo con yarn ios en un simulador o dispositivo iOS. Verifica el parpadeo cuando secureTextEntry usa una fuente personalizada y se introduce un carácter que después se elimina, comparando los renderizadores nuevo y antiguo; se considera completado cuando el texto deja de parpadear en ambos casos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- ios, react-native
- Área
- mobile
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100