flutter-quill
flutter-quill copied to clipboard
Gboard autocomplete causes double cursor
For Android devices that use Gboard (by far the most popular keyboard on Android), if you autocomplete the last word of the line and hit enter, the cursor on the last line won't hide correctly, and it causes double cursor. For other keyboard such as Microsoft SwiftKey, this problem does not exist.
This is likely due to the fact that Gboard insert white space after every word it autocompletes. If the last word of the line is auto-completed, when user press the enter button, it replace spalce to line feed. For Microsoft SwiftKey, it just inserts line feed after the space.