Phonegap application does not scroll

I developed the Phonegap application and now I am trying to run it in an Android emulator. My problem is that the application does not scroll in the emulator or device, but it works well in a regular browser like mozilla or chrome. But when I test in an emulator or device, it does not scroll.

Here is my html file http://pastie.org/3981916

And here is my css file http://pastie.org/3981918

I can not find a solution to this problem, can someone help me?

+4
source share
2 answers

It’s good that you cannot get the normal html scroll behavior when trying to create an application using the Android handset.
you cannot get overflow effect: scroll for any of the html elements.
you will need to use third-party libraries like jquerymobile, iscroll4, etc. to get the look.
or also you can build your own logic

+5
source

This link will help you implement iScroll ..

+1
source

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


All Articles