Column strip show problem

I have a column strip that is hidden until a text item is clicked, when it should show. Currently what happens when the click event occurs is that the strip does show, but immediately the page scrolls all the way to the top of the page. I cannot figure out how to prevent this from happening. I just want the strip to show and remain visible without the scrolling taking place.
Here is my code (page code):

export function text138_onClick(event) {
  $w('#columnStrip14').show();
  }

Would appreciate any advice!

The code you have provided above should work just fine. It’s possible that you have some code for onViewPortLeave and onViewPortEnter events.

I have other onClick event codes but not onViewPortLeave/Enter ones.