Chosen Solution
I bought a screen for iPhone X from ifixit.com. Yesterday I got it replaced professionally however the sensor on the screen is not working. Please help me.
Sensor issues can be caused by a number of mistakes and misalignments. I recommend taking the iPhone back to the professional who replaced your screen so see if they can correct the issue. If there is no way to fix the sensors, you should install the original damaged screen and take it to apple for a screen replacement.