marcospont / agnostic-draggable

An agnostic set of libraries implementing draggable, droppable, sortable and resizable behaviors inspired by the jQuery UI implementation
MIT License
39 stars 7 forks source link

corrected wrong offset calculation #2

Closed rozek closed 3 years ago

rozek commented 3 years ago

while experimenting with "draggable", I noticed a wrong calculation of "offset.parent" - here is my fix for that bug