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

115
Vistas
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 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