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: Distinguish between drag and drop and click events

tjklug11 free asked 2 years ago


I have a card element that belongs to a sortable drag-and-drop grid. The card has the sortable-item class. I would like to have a click event on the card element as well. However, when implementing the click event, the card is attached to the pointer as a drag-and-drop item and carries forward to the page displayed from the click event.

Could you please explain how to separate the events so the carryover does not occur?

Thanks.


Grzegorz Bujański staff answered 2 years ago


Unfortunately, at the moment our drag and drop does not offer such a possibility. I will add a task on our to-do list to fix it.



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 3.10.2
  • Device: Desktop
  • Browser: Any
  • OS: Mac OS 12.2
  • Provided sample code: No
  • Provided link: No