Topic: Issues with Drag And Drop Sortable

dwilliams55555 free asked 3 months ago


Expected behavior The sortable list is in an overlay and dynamically adds new items with input boxes when a link is clicked. When clicking in the input boxes to enter data the list item should not be selected for dragging.

Actual behavior The list item IS selected for dragging and is not release again until a click off of the list is made. Clicking on the list sometimes results in another item being selected and multiple copies of the row with inputs being created in the list. I've tried to set the new line to disabled using the data-mdb-disabled attribute but it is ignored.

Resources (screenshots, code snippets etc.) enter image description here


dwilliams55555 free answered 3 months ago


I was able to fix this. Thanks.


Kamila Pieńkowska staff answered 3 months ago


If you know that you are going to have elements that are not supposed to trigger dragging you may want to use drag handles for example at the beginning of every row.



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: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 4.4.0
  • Device: hp
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No