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

125
Vistas
DataGridPro MUI - Custom column pinning with a hovered row is lag with the mouse movement

I'm creating a custom actions column on the DataGridPro component with the column pinning feature. The cell inside the actions column will only be rendered if the row is being hovered like this image below.

image

Here is the playground https://codesandbox.io/s/github-mui-custom-data-grid-fxqytz.

If we hover the row inside the DataGridPro component one by one slowly (like the first 5 seconds in the video below), the actions column is not lagging (it's rendered precisely where the row is being hovered). But if we hover the row inside the DataGridPro component one by one fast, (like the rest of the video below), the actions column is lagging (visually, the speed of rendering each actions column is lagging than the speed of the mouse movement).

https://user-images.githubusercontent.com/24468466/155148773-7e3a376d-4b23-4270-90f0-5414bdfa0dc2.mp4

What I want is the actions column is not lag with the mouse movement like this video below.

https://user-images.githubusercontent.com/24468466/155150540-571b16a3-4768-4ee6-af11-f17e1dea9d30.mp4

What's the problem that makes the actions column on my DataGridPro component lags and what's the solution for this?

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