The Interaction between UI.Draggable and overflow-hidden elements

The problem appears when you try to get items from block with style `overflow: hidden` because you cannot drag elements further than border of parent element. JQuery can almost everything and this task is accessible for its too probably it’s not so obvious – just look at fix in file:

draggable_fix.htm

Several words about solution – there is using helper: ‘clone’ to create new object for dragged copy and defining area where this object attach to.

Resource: http://docs.jquery.com/UI/API/1.8/Draggable

Any suggestions?

Books to read

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *