I added a scroll to top button in my page when user navigates the page a bit. And basically it works perfectly fine on desktop browser and mobile version in desktop browser. But, if tested on real mobile device the behavior is different, here if you scroll with a fast gesture the website is continued being scrolled, and if you tap on the scroll-to-top btn in that moment, it scrolls to top but all the content dissapears (cards and header) and only the full height background remains, and only after that if you scroll once more the content appears again. But if you wait after the slide gesture for the scrolling to stop and after only that press the button, it works just as it should.
EDIT: if scroll to top with behavior: "smooth" instead of auto, it fixes it