Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

None of the examples run on my desktop Safari #596

Open
tiptronic opened this issue May 25, 2014 · 5 comments
Open

None of the examples run on my desktop Safari #596

tiptronic opened this issue May 25, 2014 · 5 comments
Labels

Comments

@tiptronic
Copy link

None of the examples run on my desktop machine (OSX 10.9.3, Safari or Chrome), just the first page shows up, but then buttons, lists, etc... are clickable but simply do nothing.

What's the deal with that? Shouldn't it work on desktop browsers as well?

@XhmikosR
Copy link
Member

It will work just fine if you enable touch events in developer mode.

@cvrebert
Copy link
Contributor

I wonder if perhaps putting some JS in the examples to warn about this would be wise, e.g.:

if (touchSupportNotDetected) {
  alert("Ratchet is only meant for devices supporting touch, but your device doesn't seem to support touch! " +
    "Please enable touch emulation using your browser's developer tools, or use fingerblast.js")
}

@XhmikosR
Copy link
Member

@cvrebert: yeah, we need something like that. IMO we should only show this once though, unlike the BS IE emulation warning because it just gets annoying seeing an alert in every window load...

@cvrebert
Copy link
Contributor

@XhmikosR In that particular case, the annoyance is a feature 😆

@cvrebert
Copy link
Contributor

X-Ref: #636.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants