If you search 'keyboard' in the Play Store, you will find hundreds of alternatives, including Google's Gboard which is the best one IMO. Installing them is a little fiddly, but most KB apps will talk you through it. If the issue persists with a different keyboard, I suspect you have a firmware...