Chosen Solution
My iPhone 12 will stick and lag when typing. I have dropped it but always had a cover on so screen looks fine. It just seems to be when texting/typing anything. I’ve tried resetting the phone and all software is up to date.
Back it up through iTunes and restore it back to factory. Then set it up and restore the back up you just saved then try it. If it still has issues the screen could be damaged. You don’t need to see signs of damage on a screen for it to be there.