Thanks! That did the trick.
I just had to make some adjustments to make sure the input field is focused also.
So when pop-up becomes visible I set focus on repeat list item, 50ms sleep and then focus on input.
Not 100% as I want it, but it will do for now.