Code Monkey home page Code Monkey logo

Comments (9)

fariazz avatar fariazz commented on August 21, 2024

this seems to be an issue that was present in an early version of Crafty as well: http://craftyjs.tumblr.com/post/4601812926/0-4-2-released

from quintus.

fariazz avatar fariazz commented on August 21, 2024

Tested in Chrome and FF on a Android 4.2 tablet and it works fine, although these browsers don't seem to support the viewport tag.

I think this is related to the viewport tag in some way.

from quintus.

yckart avatar yckart commented on August 21, 2024

Mhh, it seems that there's a mistake in your code, I get this error message:

Uncaught TypeError: Cannot read property 'lists' of undefined 

from quintus.

fariazz avatar fariazz commented on August 21, 2024

hi @yckart try the finished version of the game, it happens too and there are no errors: http://static.pablofarias.com/racinggamefinished/

from quintus.

fariazz avatar fariazz commented on August 21, 2024

In my Android 4.2.2 tablet the bug occurs using the native Android browser. Using Chrome and FF is not observed. So far seen in the native browser in Android 2.3, 4.1 and 4.2.2.

from quintus.

fariazz avatar fariazz commented on August 21, 2024

I get the impression this was solved here: thatpixguy@987fb8b but somehow never nade it to the main repo

from quintus.

cykod avatar cykod commented on August 21, 2024

Problem with that solution was hasTouch is true for a whole bunch of desktop browsers - which then don't trigger the mouse events.

from quintus.

fariazz avatar fariazz commented on August 21, 2024

You are right! didn't think of those Windows 8 "yoga" tablets :)

from quintus.

fariazz avatar fariazz commented on August 21, 2024

It seems the issue is on the old Android browser only, at least it's not present on Android Chrome or FF and people who published to Android using Cordova haven't reported this issue.

New Android devices come with Chrome as the default browser so this issue is no longer present on those.

I don't like the idea to make a tweak for a particular browser that's not even used in newer devices. If we did something like this (#39 (comment)), developers who want to support this browser could easily turn mouse events off when on it.

from quintus.

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.