S
S
Sergey2011-07-25 19:39:10
JavaScript
Sergey, 2011-07-25 19:39:10

Droppable, overlapping blocks, and "shouldn't"?

Actually, a problem arose when implementing the interface using the jQuery UI library - Droppable. The problem is this: there is a main container (let's say body) positioned relatively and having z-index: 1, it has some placeholder positioned absolutely and having z-index:10. When trying to move an element from the body to the placeholder, the over event fires on the placeholder, but only the drop event is called on the body. How to live with it? Is this a bug in the library, not a bug at all, or am I doing something wrong in this life?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreenPeace, 2011-08-17
@GreenPeace

Perhaps your problem is related to the 'tolerance' property when calling the droppable method.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question