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

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