Grey bottom when keyboard leaves

I was facing a rare issues in ionic 3 , there is a grey bottom when keyboard leaves from the screen , i was checking the web inspector the complete html is above from the bottom of the grey bottom. once this happened complete app screen has bottom grey and once i restart the app issue is not persist.

note: i was using ios 11 beta and in android its working fine.

once app start I have a stausbar space the html below from that , but when keyboard leaves the html is over the status bar and the space for the status bar is appeared on the bottom of the screen.

I hope this issue will not persist in ios 11 production os.

If anyone have a solution post it, thanks