Tapping on the search bar the whole content is selected (as it should be) but as you can see sometimes there is another „cursor and selection“ behind (see the attached image). They overlap each other. In this case, when I start typing/dictating the new text does not replace the old one but it is attached instead. This behavior is randomly chosen I have not figured out the rule.
The text (if there is any) in the search (URL) bar should always be replaced (not attached) with the newly typed text.
iOS version
17