Our flexible Kanban board for managing tasks with drag drop


Post by markus »

Hi,

We're using TaskBoard in a ReactJS application.

Is touchStartDelay configurable on TaskBoard (we want to set it to 200).

Thanks
Markus


Post by tasnim »

Hi,

Could you please clarify what you want to configure it for? Is it for dragging cards?


Post by markus »

Hi,

Yes, I want to change the time, until a card is considered to be dragged - at the moment it's slightly to long until that happens.

Thanks


Post by marcio »

Hey Markus,

You can try to override the default TaskDrag feature code (TaskDrag.js)

class TaskZone extends Base.mixin(Draggable, Droppable, Events) {

and inside that class definition, add your custom value of dragTouchStartDelay.

I also created a ticket to add that configuration https://github.com/bryntum/support/issues/6915

Best regards,
Márcio


Post by markus »

Hey,

thanks a lot - could you provide an example how to do it?

Best
Markus


Post by marcio »

Hey Markus,

Sorry for the late reply. Checking the code of TaskZone, it looks like that will require some heavy work to override that class without the configuration. So for now, we recommend not using that approach and waiting for the ticket to be done.

Best regards,
Márcio


Post by markus »

Hey, any update on that? Cheers


Post by marcio »

Hey markus,

Unfortunately, no updates. But I added a note to the ticket. You can also speed up the development by providing a sponsorship. Please reach out to sales at Bryntum if interested.

Best regards,
Márcio


Post Reply