This has the same issue my previous Samsung Galaxy S20 FE had a few years ago after it was dropped. I never replaced the screen, but it should work fine once a new screen is fitted
eBay