Skip to content

Unable to detect drag state #41

Closed
reactivo opened this Issue Jan 12, 2012 · 6 comments

2 participants

@reactivo

Hi,

I'm trying to implement your plugin in a touch-screen interface, but I cant access to the "dragging" data. Doing elm.data("dragging") in the overscrolled jQuery element as you say in the readme notes always returns "undefined".

¿Any help?

Thank you.

@azoff
Owner
azoff commented Jan 12, 2012
@reactivo

I mean I'm developing a touch screen interface but in a desktop environment. With a touch monitor under Windows and Chrome browser runing fullscreen.

@azoff
Owner
azoff commented Jan 12, 2012
@reactivo

I don't think that's the problem, I must be doing something wrong detecting dragging data, because it shows undefined also in a normal desktop environment (Mac). Maybe can you explain a little bit more in depth how to detect it?

I'm doing this to check the "dragging" state:

$('#element').overscroll()

window.setInterval(function()
{
console.log($('#element').data("dragging"));
},1000);

It always returns "undefined", no matter if I'm dragging or not.

@azoff
Owner
azoff commented Jan 13, 2012
@azoff azoff pushed a commit that closed this issue Feb 19, 2012
Jonathan Azoff Fixed feature detection and dragging data flag. Closes #41 ac9c32f
@azoff azoff closed this in ac9c32f Feb 19, 2012
@azoff
Owner
azoff commented Feb 19, 2012

Fixed this in the 1.6.1 branch

@davidcorry davidcorry added a commit to davidcorry/Overscroll that referenced this issue Feb 21, 2012
Jonathan Azoff Fixed feature detection and dragging data flag. Closes #41 dd97389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.