unfortunately that's the point.
preventDefault doesn't work on input and video tags.

On Dec 5, 7:39 pm, Alex Zylka <[email protected]> wrote:
> To the <input> or <textarea> tags, add *
> ontouchmove="event.preventDefault();"*. I know that works on disallowing
> page scrolling, but I've never tried it with an input before.
>
> Alex Zylkahttp://www.alexzylka.com/http://www.zylka.us/
>
> On Dec 5, 2010, at 4:14 PM, Remi Grumeau  <[email protected]> wrote:
>
> > And what about user to active the input without touching the div? (using
>
> prev / next of the keyboard)
>
>
>
>
>
> > R.
>
> > Le 5 déc. 2010 à 23:09, mobweb a écrit :
>
> >> Here's something that partially works:
>
> >>http://pastebin.com/9KadRXpR
>
> >> I added an invisible div on top of the textarea or input elements.
> >> When this div is clicked/touched it is hidden and the focus is set to
> >> the underlying textarea / input element (Unfortunately, at this stage
> >> the user is still able to scroll!). When the textarea / input looses
> >> focus, the hidden div is once again displayed.
>
> >> So when the user tries to touchscroll on the textarea / input element
> >> he's actually touching the hidden div on top of it!
>
> >> Unfortunately I didn't find a way to disable scrolling when the
> >> textarea / input is active! :(
>
> >> On 5 Dez., 22:02, mobweb <[email protected]> wrote:
> >>> Hello group,
>
> >>> It seems that there is no way to prevent an user from scrolling when
> >>> the scrolling starts inside of an input or textarea element, even when
> >>> scrolling is disabled using the "user-scalable:no" meta-tag in the
> >>> head.
>
> >>> I found an old thread from 2009 about this:
>
> http://groups.google.com/group/iphonewebdev/browse_thread/thread/100c...
>
> >>> I was just wondering if this bug was ever fixed, or if a workaround
> >>> surfaced?
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
>
> "iPhoneWebDev" group.>> To post to this group, send email to 
> [email protected].
> >> To unsubscribe from this group, send email to
>
> [email protected]<iphonewebdev%2bunsubscr...@google 
> groups.com>
> .>> For more options, visit this group at
>
> http://groups.google.com/group/iphonewebdev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
>
> "iPhoneWebDev" group.> To post to this group, send email to 
> [email protected].
> > To unsubscribe from this group, send email to
>
> [email protected]<iphonewebdev%2bunsubscr...@google 
> groups.com>
> .> For more options, visit this group at
>
> http://groups.google.com/group/iphonewebdev?hl=en.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to