You took `adjustTextFieldPosition ` to  `openKeyboard `. 
But `openKeyboard` is only invoked once when keyboard is opened.