Hey, geratheg.
I see that there's a vertical line that temporarily appears when you start using Safari on your iPhone XR. I'm happy to help.
Restart your iPhone, iPad, or iPod touch -- Restart your iPhone. Once it's returned to the Home screen, test the issue.
How to back up your iPhone, iPad, and iPod touch -- If restarting your iPhone didn't resolve the issue, please be sure to have a fresh backup to keep your personal information safe. In order to back up your Health data, the backup needs to be encrypted. iCloud does this automatically, but iTunes doesn't. If you'd like to use iTunes to back up your iPhone, refer to this article: About encrypted backups in iTunes
If you can't update or restore your iPhone, iPad, or iPod touch -- When an application isn't working as expected, a good step is deleting and reinstalling the app. Since you can't delete the Safari application on your iPhone, I'd like for you to reinstall the iOS. The section titled "Put your device in recovery mode and set it up again" will walk you through all the steps to reinstall the iOS software on your device. Check Safari once your phone is back to the Home screen.
Let me know how that goes, and take care!