Skip to content

Commit

Permalink
Bug fix for issue lukasoppermann#424
Browse files Browse the repository at this point in the history
Disclaimer: I am only playing with this for an hour or so.
But I do think that I just fixed no less than three issues: lukasoppermann#424 and two issues that appear to be the same (@278 and lukasoppermann#163).
But I tested on only one machine.
  • Loading branch information
jneb authored Nov 5, 2021
1 parent 6894f47 commit 8179bb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/html5sortable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ export default function sortable (sortableElements, options: configuration|objec

dragging.classList.remove(options.draggingClass)
attr(dragging, 'aria-grabbed', 'false')
dragging.style.display = ""

if (dragging.getAttribute('aria-copied') === 'true' && data(dragging, 'dropped') !== 'true') {
dragging.remove()
Expand Down

0 comments on commit 8179bb6

Please sign in to comment.