Hey there Tyraire,
We understand you're seeing a gray bar on the iPhone display when selecting a text box in Safari, and we'd like to see if we can assist.
Do you experience this when typing in both landscape and portrait mode, or only in one orientation?
If you have any third-party keyboards installed, try removing them and test for the issue again.
Also, does this happen in any other apps?
If this only occurs with Safari, try the steps here: If an app on your iPhone or iPad stops responding, closes unexpectedly, or won’t open
While the title doesn't specifically mention this issue, the steps may help resolve it.
Cheers!