I am learning Bootstrap v4 via w3schools. (A lot of their bootstrap tutorials are almost copy-paste from the source though.)
Nonetheless, let the MWE for this question be the vertical scrollspy found here (but the horizontal one also works): https://www.w3schools.com/bootstrap4/bootstrap_scrollspy.asp
As you see, both of them function great ... when you only scroll.
If you click on the navbar to jump to that section, your position in the text also moves. That is very disorienting and undesired.
What function do I overwrite or how do I make it such that:
when a user clicks on a nav item linked with scrollspy, the scrollable area scrolls to that point, with out the jump.