Android: textInput: secureTextEntry toggle causes keyboard change; keyboard does not automatically come up
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:
When enabling the user to toggle the secure text entry flag on a text input, on Android, two issues are occurring:
- The keyboard does not automatically come up when rendering; the user must tap on the field.
- Tapping the 'eye' icon to toggle the secureTextEntry flag from false to true switches the keyboard type.
React Native version:
System: OS: Windows 10 10.0.17134
CPU: (4) ia32 Intel(R) Pentium(R) CPU G4560T @ 2.90GHz
Memory: 1.65 GB / 7.43 GB
Binaries:
Node: 12.10.0 - C:\Program Files (x86)\nodejs\node.EXE
Yarn: 1.10.1 - C:\Users\mjfiandaca\AppData\Roaming\npm\yarn.CMD
npm: 6.13.4 - C:\Program Files (x86)\nodejs\npm.CMD
SDKs:
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 23.0.1, 25.0.1, 26.0.3, 27.0.3, 28.0.0, 28.0.3
System Images: android-23 | Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-26 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.6010548
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.6 => 0.60.6
Steps To Reproduce
- Sign onto the provided snack.
- Intermittently, the keyboard will not come up (I tested this several times; sometimes, no keyboard, sometimes, app starts, flashes, and then the keyboard comes up).
- Tap on the 'eye' icon to toggle the secure text entry.
- Notice the keyboard changes.
Expected Results
The keyboard should not change based on the secure text entry value.
Snack, code example, screenshot, or link to a repository:
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 verlinkten Snack-Reproduktion und dem im Issue beschriebenen Verhalten von Android TextInput. Überprüfe die anfängliche Darstellung und das Umschalten von secureTextEntry getrennt voneinander. Verifiziere anschließend, dass die Tastatur automatisch angezeigt wird und ihren Typ nicht ändert, wenn das Augensymbol verwendet wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, react-native
- Bereich
- mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100