Coder Social home page Coder Social logo

Comments (16)

soyjavi avatar soyjavi commented on July 30, 2024

better if you use .tap() (touch delayed)
El 14/01/2013, a las 17:39, alexcroox [email protected] escribió:

A strange one, it seems when using .touch() to close an aside, it also touches the elements that slide into it's original place, meaning it clicks items that shouldn't be clicked.

A video would best show this!

http://al3x.me/MBNS

Any ideas for getting around it? I've tried .tap() with little success.


Reply to this email directly or view it on GitHub.

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

Tap seems to have the same issue, highlighted here:

http://al3x.me/MACt

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

Reverting to jQuery's .click() works for now for others having a similar issue (not ideal of course).

from quojs.

soyjavi avatar soyjavi commented on July 30, 2024

I'm working in version 2.3 :)

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

Great thanks, getting a lot of miss touches currently after touching a button that triggers a scroll to top.

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

This bug is still present in 2.3 :(

from quojs.

soyjavi avatar soyjavi commented on July 30, 2024

Touch is deprecated in QuoJS 2.3 now you should use tap or singletap event

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

Sorry, yes I have already switched to tap and it had the same problem. I tried using "singleTap" but I got the error:

$$('#menu a').singleTap(function() {

TypeError: $$(...).singleTap is not a function

from quojs.

soyjavi avatar soyjavi commented on July 30, 2024

.on('singleTap', ...)

El martes, 29 de enero de 2013, alexcroox escribió:

Sorry, yes I have already switched to tap and it had the same problem. I
tried using "singleTap" but I got the error:

$$('#menu a').singleTap(function() {

TypeError: $$(...).singleTap is not a function


Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-12843588.

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

Ah that works, your homepage documentation is quite missleading:

//Tap event, common event
.tap(function);
//A tap-delay event to combine with others events
.singleTap(function);

from quojs.

soyjavi avatar soyjavi commented on July 30, 2024

oh!!! fail … :/
El 29/01/2013, a las 17:58, alexcroox [email protected] escribió:

Ah that works, your homepage documentation is quite missleading:

//Tap event, common event
.tap(function);
//A tap-delay event to combine with others events
.singleTap(function);

Reply to this email directly or view it on GitHub.

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

Also, how do you make this behave like jQuery's live event (i.e it works on dynamically inserted elements)?

from quojs.

soyjavi avatar soyjavi commented on July 30, 2024

Download new version of QuoJS 2.3.1 (works gestures with dynamically elements)
http://quojs.tapquo.com/

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

Ah thank you very much!

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

The original issue reported at the top here has re-surfaced in the latest update :/

from quojs.

alexcroox avatar alexcroox commented on July 30, 2024

For now I have solved the issue by showing and hiding a fixed 100% width/height transparant div for 500ms while animating my aside during "page" changes.

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.