My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 57: Touch doesn't work (selection of elemtnts in iscroll used page)
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by ganeshkg...@yahoo.co.in, May 23, 2011

Now, i can't select any element in the page, only scrolling function is allowed.

iscroll 4

Using iscroll in development of an application for iphone.

Jul 10, 2011
#1 mcarp...@gmail.com
I just wanted to say that this happens for a project I have been working on as well. Verified on android 2.1, 2.2 and 2.3 using an HTC Magic, Dell Streak, Nexus One, Nexus S... I think more as well. Can't remember off the top of my head.

The very first time a page is loaded, I can sometimes click the text input. Every other time touching the input does not work. I can also get the soft keyboard to display sometimes by tapping quickly on the input element and then tapping where the keyboard should display.

We did manage to get things working with some js hacks:

myScroll = new iScroll('wrapper'), {
                    onBeforeScrollStart: function (e) {
                            var target = e.target;
                            while (target.nodeType != 1) target = target.parentNode;
                            if (target.tagName != 'SELECT' && target.tagName != 'INPUT' && target.tagName != 'TEXTAREA')
                                    e.preventDefault();
                    }
              });

Powered by Google Project Hosting