JQuery mobile + phonegap selection element displays options very slowly

I am developing jQuery mobile + phonegap mobile app for Android / iOS. However, I have a problem with the select element on Android. When it is pressed, it takes about 5 seconds to display the parameters. I noticed that it does not take much time on other pages where there are fewer HTML or iOS elements.

Is there a way to speed up this process?

+4
source share
1 answer

Perhaps this problem:

$. Mobile.buttonMarkup.hoverDelay

If you find that the down / hover button (lists, buttons, links, etc.) feels sluggish. It may be useful to use the $ .mobile.buttonMarkup.hoverDelay parameter. This will reduce the time between the touch event and the application of the corresponding class, but will also lead to a higher probability that the same class will be applied even if the user scrolls (for example, a list of links for a long time).

http://jquerymobile.com/demos/1.2.0/docs/pages/phonegap.html

0
source

Source: https://habr.com/ru/post/1443322/


All Articles