The camera focus issue seems to be a software bug as it’s not fixed by restarting, resetting or changing camera settings. Has your new iPhone plagued by this problem as well? Head over to fix it quickly:

How to Fix Camera Focus Issue on iPhone X, iPhone 8 and 8 Plus

You can fix the camera focus issue on your iPhone by either updating the device or downgrading it to the previous iOS version. Since Apple has released iOS 11.2.1 with the permanent fix to the ongoing problem, I would recommend you to update your iPhone to the latest iOS version instead of downgrading it. Before updating your device, make sure it’s at least 50% charged and has the proper Wi-Fi connection. Step #1. Launch Settings app on your iPhone. Step #2. Now, you need to tap on General. Step #3. Next, tap on Software Update. Step #4. Finally, tap on Download and Install. That’s it! Now, let your device be successfully updated. Once it’s done, you can use Camera app without any issue. Wrapping up: Apart from fixing the auto focus issue, iOS 11.2.1 has also fixed a major HomeKit vulnerability that disabled remote access for shared users of the Home app. So, if you are facing this issue on your iOS device, update it. You might want to read these posts as well:

How to Cancel or Reject Apple Pay Cash from iPhone and iPad Turn on Lost Mode on iPhone and iPadHow to Add or Remove Favorites from Safari on iPhone and iPad iPhone Keeps Restarting? How to Fix It? How to Fix Autofocus Issue on iPhone X  iPhone 8  or 8 Plus  - 18How to Fix Autofocus Issue on iPhone X  iPhone 8  or 8 Plus  - 18How to Fix Autofocus Issue on iPhone X  iPhone 8  or 8 Plus  - 9