After testing in BrowserStack, I\'ve concluded that using scrollTo() with option parameter behavior: smooth does not work in Chrome and Edge since
scrollTo()
behavior: smooth