When trying to scroll to the end of a long query using trackpad mode on iOS, the cursor will usually not scroll left or right when it is at the end of the visible line. Occasionally it does seem to scroll, but it is very inconsistent. This is on an iPhone 16 pro running iOS 18.5
Here is a capture of the issue:
Expected behavior is scrolling the line when the cursor is at the end and the user gestures beyond the visible text.