Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

257
Visualizações
Safari does not remember Scroll-Position on "Back"-Button

we have some very strange issue in our webshop:

  • You scroll down in a category and choose a product
  • After the load of the productdetail page you go back with the "Back-Button" in Safari
  • Safari does not remember the scroll position and automatically scrolls up to the header. (You can see for less then a second the right scroll-position before safari starts scrolling up to the header)

And now here it gets really strange:

  • This problem just exists if the "Google Analytics JavaScript" ist loading!
  • If we reject the cookie for Google Analytics, the problem is not happening. (As I can see from the Safari-Console, the JavaScript of "Analytics.js" ist loading at last)

Do you have any ideas how we can prevent safari from scrolling up to the header after clicking the "Back-Button"?

Do you have any idea how I can debug this issue?

Best regards.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda