Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Sortable onmove not working

BaseCloud priority asked 2 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


Mateusz Lazaru staff answered 2 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

  • 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