This happened on my sr0 ultra within months of purchase. The x1 was blurred but I had full focus on 0.5 and 5x . Eventually after 2 years I had my camera module in the phone exchanged. I got told to clear the cache constantly but this never helped.
My S21 Ultra has had this problem for about six months now @Gazza. I don't think it will ever get fixed but you never know. Only workaround is to select x10 lens first and then drop to x3 and then drop into x1, and it is always in focus then for me. Same with video. You get used to doing this actually but we shouldn't have to for sure. 👍
I don't think it's software unfortunately. I have heard of people having camera modules replaced to get rid of this issue (as with F1rust above). I hope I am wrong though and that a software update can get rid of it one day. 👍
Hi i have just had an update don't know if its coincidence but just updated my phone and the camera is working fine, is there any one else this has happened to?