Topic: Sortable onmove not working

BaseCloud priority asked 1 year ago

Expected behavior

const draggableItem1 = document.getElementById('sort_item_1'); draggableItem1.addEventListener('move.mdb.sortable', (e) => alert('Item 1 was moved'));

This event listener should fire whenever item 1 is moved.

Actual behavior

this does not work. Does nothing.

Resources (screenshots, code snippets etc.)

Mateusz Lazaru staff answered 1 year ago

Thank you for reporting this issue.Change move.mdb.sortable event to move.

This is a bug and will be fixed soon.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.2.0
  • Device: COmputer
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes