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

141
Visualizações
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 à 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