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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -