Sortable onmove not working


Topic: Sortable onmove not working

BaseCloud pro premium priority asked 3 years 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.)

https://mdbootstrap.com/snippets/standard/basecloud/4073872


mlazaru staff answered 3 years ago

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

This is a bug and will be fixed soon.

https://mdbootstrap.com/snippets/standard/mlazaru/4080587


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • 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