Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

81
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!