Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

111
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda