Simulate Component Tap on Page Load?

Is it possible to simulate a component tap as soon as the page has been loaded?

My use case is that I wish to have a page called “Search”, and avoid having the user tap the search bar when they reach the page - i.e, they should be able to start typing as soon as the page has loaded.

There is a ‘Tap Component’ flow function

1 Like

thanks @JOHN_WORSHAM . I found another flow function Focus input which has done the trick!

Hi @JOHN_WORSHAM and @Kieran_Doyle. I am trying to use focus input flow function it wont bring up the keyboard when page is loaded.

How did you do this?

Please find attached my flow functions

Thank you

My setup below is working fine for me. Perhaps try having the focus input only connected to the page mounted event, and remove the hide spinner too?
Screen Shot 2022-01-06 at 13.15.52

Thanks for your help.

  1. I have removed the hide spinner.
  2. connected the page to the Focus input

However, it won’t autofocus on the input field when the page loads.

I have noticed you have a Flow function, do I need to do the same?

Thank you

That’s just an Analytics call so wouldn’t make any difference.

Unfortunately I’m not sure what else could be the issue, sorry

I have used the primitive input and it works fine. Thank you :blush:

1 Like