iOS - Layout goes upside when keyboard is opened


Hi - I am getting issue in IOS. When I click on input text keyboard is opened and the whole layout goes upside.I searched about this issue and found “cordova.plugins.Keyboard.disableScroll(true);” prevent the native scrolling on focus, but I when add this line then I am not able to see the input text it’s getting hide.Can anyone tell me how to prevent the scrolling on keyboard open so that the screen should not scroll to top , it should scroll only upto the clicked input text or focused input text.