4

When working with jQuery sortable, draggable and dropable.

  1. Dropping a sortable item in sortable.
  2. Dropping a draggable in a droppable.

The container in which we are dropping any object, only accepts it if the center position of that object lies in the bounderies of container.

Sorry the above statement is too much complex please see below picture.

How can we change the point of acceptance?

enter image description here

1
  • I think its bit difficult to understand my question, but i am here to clear any doubts. Commented Jul 30, 2011 at 13:17

1 Answer 1

4

You can use the tolerance option (droppable, sortable).

  • droppable() supports fit, intersect, pointer and touch.

  • sortable() only supports intersect and pointer.

intersect is the default for both widgets.

Sign up to request clarification or add additional context in comments.

1 Comment

+ 1, Thanks @Hamidi for your response. After reading the options i am pretty confident that this is my answer. I will update after i test it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.