I have brought this to the attention of many parts suppliers and this link will give you everything you need to know. This is why apple has a calibration machine, The iPhone 7 through 8 plus will experience this due to '''4 separate manufactures of screens, LG, Toshiba, Sharp, and JDI'''. If your screen does not match that it will need to be calibrated with the machine or it will not communicate properly. Best solution is to check the first 3 characters on the screen and try and find one that matches the original.
[https://webuylcds.co.uk/2018/05/15/touch-compatibility-issues-with-iphone-7-7-8-8-screens/|'''https://webuylcds.co.uk/2018/05/15/touch-compatibility-issues-with-iphone-7-7-8-8-screens/''']