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

136
Views
JQuery droppable no detecta eventos de caída después de aplicar la rotación

Estoy aplicando droppable al elemento rotado.

Violín

Los eventos desplegables se activan en el área antes de la rotación y no se activan en el elemento rotado real.

HTML

 <div id="droppable">Drop here</div> <div id="draggable">Drag me</div>

CSS

 #draggable { width: 40px; height: 40px; background: #ccc; } #droppable { position: absolute; left: 250px; top: 80px; width: 225px; height: 35px; background: #999; color: #fff; padding: 10px; transform-origin:center; transform: rotate(45deg); }

JavaScript

 $( "#draggable" ).draggable(); $( "#droppable" ).droppable({ drop: function() { alert( "dropped" ); } });

Gracias.

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!