Yup this is the known issue, I'm struggling to implement it 😅
I don't if there is some complications involved with your method of how you did it, but I thought adding the attribute of autofocus worked.
Simple autofocus is easy but implementing autofocus inside a modal is a bit hard 😕
Ohh I see. Something i could think of is -
When the modal is launched you could select the input and add autofocus at the same time. Would that work ?