0

Iam developing a phonegap app which has a drop down with 400+ items, as a mobile phone application which is the appropriate way to show such numerous items, i have tried autocomplete jquery, but it has some issues as shown in the below jsfiddle.

In below JSfiddle, type 'a' in products input field, a list will appear, then scroll upwards; you can see the issue.

my jsfiddle here,
Iam struggling with this for weeks, i need your suggestion. thanks.

frequent
  • 27,643
  • 59
  • 181
  • 333
Mumthezir VP
  • 6,251
  • 6
  • 28
  • 57
  • Can you provide a jsfiddle, so we can have a look? – frequent Nov 11 '13 at 13:52
  • @frequent: jsfiddle is there, check it pls.. – Mumthezir VP Nov 12 '13 at 11:48
  • I don't see the problem. If I add "a" in the input you mention, the autocomplete shows the number of remaining items. As a more general issue, you should not mix JQM and JqueryUI until it is safe to do so. So if you want to do JQM only, have a look at these examples [here](http://view.jquerymobile.com/master/demos/filterable/) and [here](http://view.jquerymobile.com/master/demos/listview-autocomplete-remote/) which show how to do a listview filter with local or remote data. This way no need to use jQueryUi and probably no errors either – frequent Nov 12 '13 at 12:09
  • issue is there...,u can see the issue if u scroll upwards after typing 'a' in 'products' field.. – Mumthezir VP Nov 12 '13 at 12:14
  • sorry. I don't see anything... Can you post a screenshot :-) – frequent Nov 12 '13 at 12:44
  • check this link u can see the screenshot captured from simulator: http://stackoverflow.com/questions/19739895/autocomplete-view-broken-iscroll-issue – Mumthezir VP Nov 13 '13 at 04:03
  • @frequent: check above link. – Mumthezir VP Nov 13 '13 at 10:56
  • I saw the link. In this question you are having problems with `iscroll`, on your fiddle you are using `jqueryUI` - you said earlier you solved it with the JQM filterable (change the theme by using the options provided in [filterable](http://view.jquerymobile.com/master/demos/filterable/) such as `data-filter-theme` to set the theme of your filter. Regarding jQueryUI and iscroll compatability I can't help. sorry. – frequent Nov 13 '13 at 11:03
  • let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/41099/discussion-between-mvp-and-frequent) – Mumthezir VP Nov 13 '13 at 11:11

0 Answers0