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

187
Visualizações
scrollIntoView behavior smooth not working on Ipad 8th gen

I have tried multiple solutions to achieve a smooth behavior on iPad 8th gen. like iscroll, react scroll and custom polyfill scroll as well but the behavior is instant instead of smooth.

onclick button :

<div className="mt-4 text-center mt-md-5 btn-hide">
 <Button className="btn-see-more btn-outline-light Event Based" size="lg" onClick={() => 
  executeScroll()}>
  {constants.SEE_MORE_BTN}
  </Button>
</div>

when i call the scroll function on button click,the scroll behavior is smooth on windows but when i have tested the same scroll on ipad 8th gen then the scroll behavior is instant.

 const executeScroll = () => {
    const element = document.getElementById('discoverEvents');
    if (element) {
    element.scrollIntoView({ behavior: 'smooth', block: 'start' });
    }
  };
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