Hey, thanks so much for creating this widget. It's perfect for what I need!
In this PR, I expose the "autofocus" property of the underlying TextField by adding it as a property of the SearchBar class and passing it through.
I just tested it out on the app I'm using this on, and it seems to work fine. When I navigate to the page with autofocus: true, the keyboard immediately opens, ready to type. 🙂
Let me know if you think this is a useful addition! Feel free to request changes.
Hey, thanks so much for creating this widget. It's perfect for what I need!
In this PR, I expose the "autofocus" property of the underlying
TextField
by adding it as a property of the SearchBar class and passing it through.I just tested it out on the app I'm using this on, and it seems to work fine. When I navigate to the page with
autofocus: true
, the keyboard immediately opens, ready to type. 🙂Let me know if you think this is a useful addition! Feel free to request changes.
Thanks!