Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
Scroll top button on Mobile breaks if tapping it while content still scrolling

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

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!