One thing that helped me a lot to fix the iPhone keyboard was turning off slide to type. I learned that tip here on HN actually!

Open your Settings app. Tap on General. Scroll down and select Keyboard. Toggle off Slide to Type