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

140
Vistas
Headless UI/Apex Charts Render Issue

I have a modal sitting in the same component as the chart. My intention is when I click a datapoint on the chart I can open the modal and fetch details related to that point. This will occur upon the modal showing. The problem is that it looks like the chart is causing a re-render on the modal to happen. Inside the headless ui dialog component of the modal it's onClose gets called during this re-render and auto closes the modal mid render. When removing the chart and throwing a button in to simulate, the issue goes away. I have been using this same modal component for about 8 months with no issues like this. Unfortunately I don't see any like issues on headless ui's github. I'm leaning towards me having done something dumb that I haven't picked out yet, so any fresh eyes would be great. See the below link for the reproduced issue.

Reproduced Issue

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