Page 1 of 1

touchStartDelay

Posted: Fri Jun 02, 2023 2:56 pm
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


Re: touchStartDelay

Posted: Fri Jun 02, 2023 3:23 pm
by tasnim

Hi,

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


Re: touchStartDelay

Posted: Fri Jun 02, 2023 5:22 pm
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


Re: touchStartDelay

Posted: Fri Jun 02, 2023 7:59 pm
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


Re: touchStartDelay

Posted: Mon Jun 12, 2023 7:17 am
by markus

Hey,

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

Best
Markus


Re: touchStartDelay

Posted: Thu Jun 15, 2023 8:29 pm
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.


Re: touchStartDelay

Posted: Wed Sep 13, 2023 3:06 pm
by markus

Hey, any update on that? Cheers


Re: touchStartDelay

Posted: Wed Sep 13, 2023 3:11 pm
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.