Topic: Sortable onmove not working
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 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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