We have an ion-list inside an ion-content.
Following are the steps to reproduce the issue:
. After launch, change the orientation to landscape.
. Scroll to bottom of the list
. change to portrait
The screen is pushed up by some margin and a white space is shown at the bottom, on touching the screen the list recovers and pushes the content to bottom of the screen.
Temporary fix: We are calling $ionicScrollDelegate.resize() on event ‘resize’, this pushes the screen back to bottom on changing the orientation from landscape to portrait in the above scenario.
We don’t see any reason for the resize() to be called on orientation change as we are not adding/deleting any item from the list.
Please help in understanding the reason for the issue and an appropriate fix for overcoming the issue.