DateTimePicker icon indicating copy to clipboard operation
DateTimePicker copied to clipboard

Increase/decrease Date / TIme continuously on mouse hold

Open ghost opened this issue 8 years ago • 6 comments

Hello,

as much I love the DateTimePicker there is a function I miss or overlooked. When the buttons + / - are hold is it possible to enable the continuously increment/decrement until the hold stops? What must be changed or added to achieve this?

I tried some things but I'm very new to jquery and all, so it didn't really worked.

Thank you for your effort. Best Regards

ghost avatar Aug 06 '16 17:08 ghost

Thank you.

Added functionality to increment on mousehold. Functionality for touchhold already added, now extended it to support touch events. Following parameters should be set to achieve this -

captureTouchHold: true,
touchHoldInterval: 50

nehakadam avatar Aug 07 '16 06:08 nehakadam

Wow, thank you so much. This works extremly well all in all but I noticed, not so much for minutes. There doesn't even work a click for it, when captureTouchHold is true. I'm sorry if I bother you with that.

ghost avatar Aug 07 '16 16:08 ghost

Same for me. Minutes won't increase/decrease if captureTouchHold is set to true.

SimiGi avatar May 02 '17 07:05 SimiGi

I have the same problem: if captureTouchHold is set to true, minutes cannot be changed.

gituid0 avatar Dec 30 '17 11:12 gituid0

Have anyone fixed this with the minutes stopped working when touch is activated ?

Cashper avatar Mar 25 '18 11:03 Cashper

Search for minute-inc, minute-dec, second-inc, second-dec in JS, change minute and second to minutes, seconds, where 's' is missing.

bob21111 avatar Sep 07 '18 03:09 bob21111