Closed kgashok closed 7 years ago
After a Http request completes, I want the cursor to go back to the text input box. Is there an equivalent of the JQuery $("#query").focus()?
Http
$("#query").focus()
One mechanism has been implemented. Using Dom.focus. But need to explore alternative - https://github.com/evancz/elm-todomvc
Dom.focus
And maybe the alternative will fix the iPhone issue.
After a
Http
request completes, I want the cursor to go back to the text input box. Is there an equivalent of the JQuery$("#query").focus()
?