Chosen Solution

I have an iphone 7+(model A1784) for which the touchscreen/digitiser from time to time is nonresponsive or typing the wrong letters/characters. My iphone screen is not physically or mechanically damaged and it looks just fine. I was wondering if that is a hardware issue or something related to its coding or else software?

Usually this is caused by an bad replacement screen. Has the screen been replaced recently?

sounds like the digitiser is broken