Im using the PTR component and it works great…
Every time that I refresh the PTR page-content pops back down to the bottom of the screen. I want to keep the ptr to scroll to top.
I tried to use $$('.page-content').scrollTop(0);
but this is not really working for me.
What is the best way to keep the page at the top when i complete the PTR refresh?
I was able to basically get it working by adding a done event
ptr.on('done',()=>{
$$('.page-content').scrollTop(0);
});