Why does the input box become inactive in a loop?

I am doing a simple exercise from the Academy course. I am entering duplicate values. But after the first input, the window becomes inactive. You need to click on it every time.


But when I do the same exercise in the file, which goes as an example in the lesson itself, then you do not need to click on the input window with the mouse. It is always active.

Inactive window in my file!

But in the example academy, the window remains active in all cycles!


Are you able to enter any text into that TextField ?

Yes, I need to click and the data is entered

I think I found the problem. The question is closed now, thanks