Steps to reproduce:
Using the stock iOS keyboard, swiping left or right on the space bar moves the cursor. If you've searched for something, then try to swipe to move the cursor to the end, the cursor disappears if you move it too far. When the cursor disappears, if you try to type anything, nothing will happen. If you swipe back left, the cursor will reappear and you'll be able to move it and type as normal. If you swipe back right too far, it'll disappear again. The only way to get it back is with a swipe left, backspace does not work. Please consult the screen recording for a demonstration of the issue.
Related issue, sometimes swiping left to move the cursor backward will get "stuck" and not move. You can see this happen briefly at 35 seconds in the screen recording. You can probably tell from the recording that I was wrestling with the cursor nearly the whole time, with it jumping around back and forth. It just seems to be really glitchy and makes for a pretty bad experience.
Debug info:
iOS 16.6 with Safari up to date
Image/Video: