I have a project where I have to use some custom code to trigger a scroll to section. I have this working fine by doing this:
$('html, body').animate(
{
scrollTop: $(targetSection).offset().top
},
2000
);
What I would really like to do is to make my scoll animation match the default Webflow scroll animation. Does anyone know what this is?