User input fields

Hello all,

I would like to know how to purposefully make a field loose focus after a certain amount of time? Or simply once the user clicks out of the input field. Because once I’ve entered text into a field but I no longer want to fill the form out and delete that text, then continue to click done on the keyboard (iPhone 7). When I start to scroll though my page again, it just refocuses the input and it’s highly annoying.

What is the way to go about doing this, if it’s at all possible?

Thanks,

Mike