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: Drag and drop plugin - missing sortable features

Marvin Herbold priority asked 3 years ago


Why can we not use dragHandle and blockX/YAxis and container and scrollPixels features of sortable component of the drag and drop plugin? Please add this capability.


Marvin Herbold priority answered 3 years ago


If you need some kind of prioritization, focus on the dragHandle option first, and the ability to block x/y axes would be second.

The point of me sharing my snippet with you is to show you that there are far more issues with sortable than just missing features. There are bugs too.

  1. Right clicking causes many problems, and sortable-items get lost on the page
  2. A horizontal scroll bar will randomly appear on the modal after sorting
  3. Simply left-clicking on a sortable item (without dragging) has serious problems.

Michał Duszak staff commented 3 years ago

Thanks to your snippet I could diagnose issues faster and take actions already. We are working on a fix.


Michał Duszak staff answered 3 years ago


Drag and drop plugin divides into two - sortable and draggable. Draggable contains all the options you've covered earlier. We are working on bringing those options as soon as possible to the sortable.


Marvin Herbold priority answered 3 years ago


Here is something you can work with -

https://mdbootstrap.com/snippets/standard/marvin_herbold/3019707

As you can see using sortable is horribly broken. Simply dragging around rows does basically work... However, single clicking on rows is a night mare as it starts the drag then the row gets lost in lala land. Trying to use the inputs is also bad. Right clicking causes all kinds of issues as well.


Marvin Herbold priority answered 3 years ago


I would like to emphasize that this is super-critical for us, especially the dragHandle issue. Right now we have a table with the rows being sortable. The table cells have inputs in them. Right now it is impossible to use - clicking on any input inside a table cell automatically picks up the whole row due to the sortable. We really need to restrict it to a dragHandle.


Michał Duszak staff answered 3 years ago


Thank you for suggestion! We will keep an eye on this case.

Keep coding,

Michal



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: 3.2.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No