The issue appears when the word with a mistake is the last word in the line. The following video illustrates the issue: https://github.com/solid-software/languagetool_textfield/assets/77672371/b518bb4b-0598-4fde-b502-18acbbf8fad0