Page 1 of 1

Container div resizes after pageShow event

Posted: Thu Apr 16, 2015 6:14 pm
by Dandy Ling Kwong

Image

In the image, it shows that the submitReport_mobilecontainer div has a height of 396px. However, during pageShow event, it was 364px. Some how, after the pageShow event, the div height changes to 396px.

Is it possible to know what are the changes that take place after pageShow event that causes the div to resize? I would like to add to that code such that I can obtain the height of the div after it changes.


Container div resizes after pageShow event

Posted: Fri Apr 17, 2015 3:47 pm
by Serhii Kulibaba

Hello,

Page container resizes after all components are ready.
You can use resize event fo any component: https://api.jquery.com/resize/