I made an animation using scrollIntoView function. However the animation is very fast, I want to put a longer animation time, but I don't know how to do that.
That's what I put in relation to this function
section.scrollIntoView({
behavior: 'smooth'
})
Explain to you what I did.
It is a page where the person will select an option. When she selects, the next section will appear with an animation and this scroll function also comes into action. Going to the new section that appeared.