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

91
Visualizações
Firing Events for drop area & draggable for react-draggable

I'm currently porting over some UI code written in Jquery UI to react-draggable, trying to migrate from draggable and droppable to respective React elements.

Though dragging works fine, I can't figure out how to notify both the div that the draggable is dragging on (or is placed on) and the draggable which div is on.

In easier terms,

1. A draggable element, <Foo /> and a absolute-positioned div with a width and a size, <Bar />, exists
2. <Foo /> is being dragged on top of <Bar />
3. An event handler in Foo fires, notifying that it is currently on top of <Bar />
3. An event handler in Bar fires, notifying that <Foo /> is currently on top of itself.

How would I achieve this in react-draggable?

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