JQuery menu (list control) freeze


#1

Hello, I’m using the jquery menu with 365 items added on load, It loads ok, but at Android it does not scroll below mor then 30 items, on chrome it Works fine (F5) if we insist, it goes down more some items but later it does not goes to the first item :frowning:

Any idea?


#2

Which control are you using? Is it the jqWidgets Menu?


#3

List from jQuery Mobile Menu


#4

I created a new project, added jQuery Mobile List control and this code:

Sub Main()
  List1.deleteItem("all")
  For i=1 To 365
    List1.addItem(i)
  Next
End Sub

I then deployed it and ran it on an Android device. It worked fine.


#5

This is the code:

function frmMain_onshow()
  lstReading.deleteItem("all")
   for i = 0 To 364
    lstReading.addItem(books(i,0)) 
  Next  
End function

I didn’t test in another phone yet, mine is Samsung A7 2018 with Android 9
I sent the full Project for your ymail, it is in the beginning, first time you run it you choose the Reading plan, today there is only one, chronological, next time it fills the list with all the data from array. It is very simple yet. :frowning:

P.S. I’m deploying using phonegap and downloading and installing the apk


#6

This doesn’t look like a bug in AppStudio. You’ll need to do some investigation.

  • Try making the smallest project which reproduces the problem.

  • Does it fail only as a PhoneGap app?


#7

Yes, it Works fine using desktop chrome (F5)


#9

I assummed it was a problem with this old Project file frozen, So I created a new .project file, recreated all forms, copied code, Make Phonegap Native Code and … surprise… same behavior :frowning: Remembering this problem occours on my phone apk: https://filedn.com/lQgPCH06saGVHzXqqiupjqF (First time you run choose Plano de Leitura, Pronto, Pronto so you must return to main screen)


#10

Please go back and look at my last reply.


closed #11

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.