Steps to reproduce
Using GBoard Keyboard (default on Pixel/Pixel XL, also available here: https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin)
When pressing enter just before a word, the word ends up duplicated. If a space is added prior to the word the expected results.
When trying at the beginning of a sentence, the first word will remain and the rest will be on the new line. (Example B)
Example line:
- This is a test
Press enter immediately before the a
.
Expected result
Expected:
- This is
- a test
Expected (B)
- This is a test
Actual result
Actual:
- This is
- aa test
Example B:
- This
- is a test
Environment
Android O (8.0). GBoard keyboard.
Additional information
In addition to installing GBoard, if you use the Android Studio IDE or an Android emulator with the ASOP build image it will have the GBoard installed.