Coder Social home page Coder Social logo

DoubleTap is way too picky about quojs HOT 4 OPEN

soyjavi avatar soyjavi commented on July 30, 2024
DoubleTap is way too picky

from quojs.

Comments (4)

joseym avatar joseym commented on July 30, 2024

👍 The ipad web app I'm working on detects dbltaps as taps so methods tied to the event aren't getting fired.

from quojs.

nealrs avatar nealrs commented on July 30, 2024

+1 - i was convinced my code was broken until i mysteriously tapped fast enough.

from quojs.

swleighton avatar swleighton commented on July 30, 2024

If you want to increase the duration between taps you also need to adjust the delay (currently 100) on:
TOUCH_TIMEOUT = setTimeout((function() {
_trigger("singleTap");
return _cleanGesture();
}), 100);

And also increase 250 in:

if (fingers === 1) {
if (fingers >= 1) {
alert(delta);
GESTURE.gap = delta > 0 && delta <= 250;
}

300 on both of these worked well for me :)

from quojs.

akmur avatar akmur commented on July 30, 2024

Thanks guys :)

from quojs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.