Scribe-iOS icon indicating copy to clipboard operation
Scribe-iOS copied to clipboard

Spelling errors only shown right after keyboard is switched to

Open andrewtavis opened this issue 3 years ago • 2 comments

Terms

Behavior

One of the unexpected features of Scribe is that there is the potential to have the normal system spellcheck function while using Scribe (red lines appear under misspelled words). The issue is that this feature seems to be available only when the keyboard is switched to from a system keyboard. When a user returns to the keyboard the feature stops working.

This issue is to find the source of this issue and implement a solution.

Device type

iPhone and iPad

iOS version

I assume this is happening for all versions.

andrewtavis avatar Feb 09 '22 17:02 andrewtavis

It might be helpful to look into UITextChecker and how it relates to the UITextDocumentProxy, or the proxy code for KeyboardKit could also hold a solution.

andrewtavis avatar Apr 08 '22 08:04 andrewtavis

This bug can be reproduced in Xcode's simulator. Switch to a Scribe keyboard from a system one and the spellcheck will work, but then it won't if the conversation is left and then is came back to with the Scribe keyboard being used automatically.

This would hopefully be something that can be fixed in a future release, as not having autocorrect via #2 means that currently the user doesn't have help with spelling.

andrewtavis avatar Apr 08 '22 09:04 andrewtavis