Cursor not showing up in text field

Hi folks! I’ve used Javascript extensively as a calculation engine in FileMaker but am fairly new to using Javascript for UI in Web Viewer.

I’m having trouble getting a text block to hold focus and show a cursor consistently.

Is this a common issue that people have come across?

Any help is appreciated.

All the best,

Nat