Topic: Unable to drag sortable element to empty sortable list
Espen Rønning priority asked 3 years ago
Using Drag and Drop with two connected sortable tables.
As long as both tables have some elements, this works fine. But when one of the tables are empty, there seem to be no place I can drag and release an item to start fillling the empty table.
Dawid Wajszczuk staff answered 3 years ago
Hi,
Thanks for reporting this and for the snippet. We will take a closer look at this case and see want we can do about it.
Keep coding,
Dawid
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.8.0
- Device: PC
- Browser: Google Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Dawid Wajszczuk staff commented 3 years ago
Hi. Can you please provide a snippet with this issue? It will help a lot. Thanks. https://mdbootstrap.com/snippets/
Espen Rønning priority commented 3 years ago
Here's a snippet. Try to move one of the items from "To do" to "Done":
https://mdbootstrap.com/snippets/standard/ererling-sande-no/3161132#html-tab-view
Dawid Wajszczuk staff commented 3 years ago
If you stack the tables side by side everything is fine. I hope that this will work as temporary workaround. Here is the snippet https://mdbootstrap.com/snippets/standard/d-wajszczuk/3163354
Espen Rønning priority commented 3 years ago
My tables are actually stacked side by side by using the grid system. This does not work. However, using d-flex as in your snippet, it seems to be OK. I'll use this for now.