3

I need an autocomplete option in my phonegap app, and i got this sample . It works fine when iam working with sample, but it is broken (look at images) when iam trying to scroll in iphone simulator i think it has some css issue, how can i fix it ? Iam really got stuck with this. Thanks.

Update1: this issue arises when my iscroll started to scroll. Then, my list also starting to scroll (as i shown in below image).

Update2: my jsfiddle here, enter 'a' in products input field - a list will appear, then scroll; you can see the issue.

my scroll wrapper:

var testScroll;

function loaded() {
  testScroll = new iScroll('wrapper', {
  //check js fiddle for more 
 }
}false);

enter image description here enter image description here

3
  • When does that happen? Is it when you start typing and then scroll the page? What version of iScroll you're using? Nov 6, 2013 at 10:41
  • @caiocpricci2: yeah, exactly... iam using iScroll 4.2.5 Nov 6, 2013 at 12:31
  • still not solved!!!!!! Nov 14, 2013 at 5:20

1 Answer 1

1

you can try to use iscroll only when the target doesn't support touch-based scrolling of fixed regions. (see more http://coenraets.org/blog/phonegap-tutorial/)

If all you need is autocomplete for phone gap, you might eventually find what you are looking for in the tutorial linked above ;)

1
  • thanks.. but it is not the issue.Issue arises- when it came iscroll and autocomplete together... Nov 6, 2013 at 7:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.