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

277
Vistas
smooth scroll not working on safari browser when using nextjs?

what am trying to achieve is the scroll behaviour: smooth but on safari, when clicking a link in the menu, all browsers will smoothly go the the section that the link refer to except for safari it will jump to section immediately, I tried every single option to achieve this (react-scroll, smooth-scroll, smoothScroll polyfill) nothing works, everyone referring to smooth scroll polyfill but its not working, there is no error it just do nothing. I put it inside use effect and other options, I also tried to removed the "window.forceSmoothScrollPolyfill = true;" also not working.

am I doing something wrong here?

import smoothscroll from 'smoothscroll-polyfill';


if (typeof window !== undefined) {
  console.log('polyfilled');
  smoothscroll.polyfill();
  window.__forceSmoothScrollPolyfill__ = true;
}  
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