Jquery mobile: page size not refreshed after adding an element -


so, struggling "loose" parts of page after adding elements in contens section of jquery mobile page. not able scroll down see bottom of page.

i have tried several solutions far.

$('#<pageid>').trigger('create'); after adding elements. 

and placing

$.support.touchoverflow = true; $.mobile.touchoverflowenabled = true; 

in pageinit event.

does know missing here?

regards

edit:

i have buttons show/hide divs well. clicking on these updates page size, , able scroll whole way down.

the problem experienced using phonegap on android simulator/device

so, reason did not work out of box android. came solution.

after adding elements dom set body size div containing elements.

$('body').css({'height' : $('#<div id>').height()}); 

hope saves time :-)


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -