Keyboard disappears when focus changes

Hello, excuse me the English, I’m using the google translator.
I have a list and when I delete an item, using the tap event, I set the focus on the next item to the deleted item. Then the keyboard disappears and reappears. How can I make this not happen and the keyboard is up.