no need to remove the google keyboard. It happened to me too but realized that was when I deactivated Text Correction. So if you don't mind keeping in your keyboard then.
Settings/System/Languages & Input/Virtual Keyboard/Gboard/Text Correction:
Make sure "Show suggestion strip" is ON. Without...