Closed
Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
- Target Platform: Android
- Development Operating System: macOSX
- Build tools: vscode, react-native-cli, android-studio, sdk: 23.0.1
- Issue is specific to some android versions/devices: We could reproduce it with 'SM-G903F - 6.0.1'
Steps to Reproduce
- Implement a textinput with a clear function that calls 'textinputRef.clear()' on an input ref
- type something in the text field
- trigger that clear
- start typing in the exact same textinput
Expected Behavior
- ...
- Textinput shows characters I typed
- Texinput shows no characters
- Textinput shows only the caracters typed after the clear
Actual Behavior
- ...
- Textinput shows characters I typed
- TexInput shows no characters
- Textinput shows characters before the clear AND the characters typed after the clear
Reproducible Demo
https://snack.expo.io/HkCfLCYP-
The issue happens both with controlled and uncontrolled inputs.