Does Ionic Segment able to set smooth scroll?

I try to use the ionic segment component to set a scroll smooth with “scrollIntoView” like below:

            const segmentChanged = (ev) => {
                ev.target.scrollIntoView({
                    behavior: 'smooth'
                })
            }

But I got the result seem like not to work well.