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

long delay on navbar buttons #36

Closed
timtimgit opened this issue Oct 5, 2012 · 1 comment
Closed

long delay on navbar buttons #36

timtimgit opened this issue Oct 5, 2012 · 1 comment

Comments

@timtimgit
Copy link

Hi,

i have applied the swipe function to an entire page (jquery mobile page)

Swipe is working, but as a side effect on Ios5 a long delay appears on navigation bar buttons.

Click is not firing immediately, but you have to tap a button for 2 seconds.

It's working ok on Android.
I'm using jquery 1.8.1 and jquery mobile 1.2

Es.

html role page:

my function:

$('#letturanotizia').live('pageshow', function(event) {
$("#letturanotizia").swipe( {

swipe:function(event, direction, distance, duration, fingerCount) {
....

Thanks!

@mattbryson
Copy link
Owner

I've not tested on 5 yet, I'll check tomorrow.

But I've just released 1.5 that let's you specify elements that should NOT trigger swipes, such as nav.

See the demo, docs for more on excluded elements, which may help.

M.

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

No branches or pull requests

2 participants