Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
touchStart delay ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
joel  
View profile  
 More options Nov 2, 12:29 pm
From: joel <joel.soor...@gmail.com>
Date: Sun, 1 Nov 2009 17:29:07 -0800 (PST)
Local: Mon, Nov 2 2009 12:29 pm
Subject: touchStart delay ?
Hello All,

while trying to implement a dynamic header/footer on an iphone web
page, I realized that even though on certain devices this would work
very well, on iphone 3G this would cause some problems.

Indeed the device seems to treat the handler function (hiding the
header/footer), on touch start (actually I want to hide these elements
on scroll by the user, so I implemented the behavior on the touchStart
event) with some delay, so that the hiding would occur only at the
middle of the scroll action or at the end.

Is this due to an actual delay on the touchStart event itself or is it
due to the device ?

Any way of reducing this delay according to you ?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
GeoNomad  
View profile  
 More options Nov 3, 4:53 am
From: GeoNomad <pjenni...@gmail.com>
Date: Mon, 2 Nov 2009 09:53:36 -0800 (PST)
Local: Tues, Nov 3 2009 4:53 am
Subject: Re: touchStart delay ?
There is a 300 mSec delay in OnClick events, but AFAIK, no delay in
ontouchstart.

I have found it necessary to insert   e.preventDefault()  in the
ontouchmove handler in some instances.

Seems this would be a good place for your hide code, too. Instead of
ontouchstart + delay.

If I understand you correctly.

Peter

On Nov 1, 5:29 pm, joel <joel.soor...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google