PTR (Pull to refresh) scroll to top

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


It is not the default behavior and PTR doesn’t do it. Looks like it is your other code that can scroll page down