If you search for something on mobile, and Quick Answer is not an option on the second toolbar, the second toolbar has an end to its scroll.
If however Quick Answer is an option on the second toolbar, the second toolbar will scroll with no end.
Think the screencast does a better job explaining! Safari on iOS 17.4.1.
The second toolbar should not scroll infinitely when Quick Answer is an option.