You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In trying to work around issue #146 (touch screen users can't scroll without triggering popups) I've got the following plan: If touchstart event fires, disable all Drop popups. On release (touchend), check if the disance from the original touchstart is small. If it is, I'll count it as a click and trigger the drop (if any) below their finger. If it is large, it was a "scroll" event, so no drops get triggered.
In both cases, I disable all Drops at touchstart and enable them all after processing touchend as described above.
So, is there a way to disable the Drop popups temporarily? I imagine this would involve un-attaching the event listeners, but I'm not sure what Drop is doing in the background.
Thanks
The text was updated successfully, but these errors were encountered:
In trying to work around issue #146 (touch screen users can't scroll without triggering popups) I've got the following plan: If
touchstart
event fires, disable all Drop popups. On release (touchend
), check if the disance from the originaltouchstart
is small. If it is, I'll count it as a click and trigger the drop (if any) below their finger. If it is large, it was a "scroll" event, so no drops get triggered.In both cases, I disable all Drops at
touchstart
and enable them all after processingtouchend
as described above.So, is there a way to disable the Drop popups temporarily? I imagine this would involve un-attaching the event listeners, but I'm not sure what Drop is doing in the background.
Thanks
The text was updated successfully, but these errors were encountered: