Skip to main content
Oct 25, 2018 3:01 PM UTC
Solved

Navigate Search Bar Focus

When using any app (Example: View Drawing) when launched, the system takes you to the search page. How do I get the cursor to automatically be in the search bar. I want users to be able to start typing right away when they see the search bar, no need to click in it before typing.  Not a coder, but I believe this is something to do with autofocus?

barkoAnswer
Nov 7, 2018 5:16 PM UTC

I brought this question to R&D, and learned that the current behavior is hard-coded, and there is no configuration parameter or other attribute that will allow you to change where the focus goes when the page is opened.

5 replies

Oct 25, 2018 5:53 PM UTC

You could try looking into Custom CSS applied to that mashup, defining the focus

https://www.w3schools.com/cssref/sel_focus.asp

GregOlsonAuthor
Oct 25, 2018 6:38 PM UTC

In composer...what is the name of the search page?

Oct 25, 2018 6:39 PM UTC

You would not be able to change the CSS styling of the Composer while keeping the support. 

barkoAnswer
Nov 7, 2018 5:16 PM UTC

I brought this question to R&D, and learned that the current behavior is hard-coded, and there is no configuration parameter or other attribute that will allow you to change where the focus goes when the page is opened.