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

117
Visualizações
React and Ant design: Consider marking event handler as 'passive' to make the page more responsive

Full Error

[Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

This Question is an extension to my other question, I will post the link below

React Hooks: How to pass the prop setState, while using the same setState itslef?

Issue

I have a complex react app and use ant design. All the components were running smooth except for this one, There is an Ant Design Modal which has Ant Design Tabs inside it, each Tab is it's own component and some tabs have a useEffect, which fetch the data and display in a list. So my modal never lagged anywhere in the application except this page, and I get that violation error and I am not sure how to debug or fix it. I am not using any event handlers, maybe ant design is using it but I have not changed any.

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