Set Manual Focus on input

in my component i have a list of inputs in a form
once user save the form then i’ll reload the next input list without closing the component
once next set of input changed i need to set autoFocus to the very first input in the new list

only first time autofocus is working once user saved and next set of input focus is not working
while focus i need to show the keyboard as well

any solution ???