Topic: sortable addEventListener

maestrocrm priority asked 1 year ago

Hi, I try to listen to the event ״move.mdb.sortable״ but it doesn't work for some reason I can change the item order in the html list but not listening to the event from javascript

Resources (screenshots, code snippets etc.) const sortableItem = document.getElementById('sortable-12'); const instanceSortable = new DragAndDrop.Sortable(sortableItem, { sorting: true }); sortableItem.addEventListener('move.mdb.sortable', (e) => { alert(; });

Kamila Pieńkowska staff answered 1 year ago

This is a bug and we will fix it.

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

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.2.0
  • Device: mac
  • Browser: chrome
  • OS: ios
  • Provided sample code: No
  • Provided link: No