jquery - Reposition draggable element to initial position -


i have 2 issues follows:

  1. i have prepared js fiddle issue:

    i'm having left , top position assigned each draggable item. now, when draggable item dropped outside of droppable area draggable item doesn't position initial position.

as per reading, have tried set top , left 0 didn't work.

  1. after dropping element in droppable area, changes required draggable item covers entire droppable area?

can me issues?

i have included exact html , css of dom structure.

please me if possible.  https://jsfiddle.net/6snh38sw/1/ 

https://jsfiddle.net/6snh38sw/8/ - best answer got forum. still has scope use drag end event stop code breaking timeout used. can me??


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -