Issue with orientation changing in ios mobile browser when keyapd open using ionic framework


I am developing a hybrid app using ionic framework. My app supports both portrait and landscape mode in app as well as browser. But I am facing small issue in ios mobile browsers.

ISSUE: when I try to rotate the screen from portrait to landscape with keypad open I am getting black screen below the keypad enter image description hereand then when I try to change from landscape to again portrait the black screen is appeared on the side

age description here