Hi, I have a tabs page. On orientation change, margin-top are not modified leaving lot of empty space or content gets hidden. The gets modified only when i re-enter to the page from some other page. Is there a way to handle this. Please help
Try this,
On your .ts file, add this code.
@ViewChild(Content) content: Content:
// Then after orientation change event
this.content.resize();
Thanks @Ellezo. That works perfect
Glad I helped a bit. Happy coding.
1 Like