These are chat archives for taye/interact.js

29th
Sep 2015
taye
@taye
Sep 29 2015 11:35

@chrisscholly @hcerr It turns out that there's a bug that prevents this if you're using an HTML element as the target. You can bypass it by using a selector as the target, eg:

interact('#gesture-area').draggable({}).gesturable({});

instead of

interact(document.getElementById('gesture-area')).draggable({}).gesturable({});
@jeffijoe yes but it's only supposed to be a "temporary" solution.
interact.debug().defaultOptions._holdDuration = milliseconds;
Jeff Hansen
@jeffijoe
Sep 29 2015 11:40
@taye temporary, as it'll become public API soon?
taye
@taye
Sep 29 2015 11:43
No, I hoped to implement a better solution that could allow different hold delays for each interactable. But I haven't had the time yet. You can use this now and for the next version or three.