Skip to content

Commit

Permalink
Adds autofocus to Text Search
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz authored and mpetuska committed Oct 23, 2023
1 parent a8fb4f3 commit 69c24aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/jsMain/kotlin/app/view/Header.kt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ private fun RenderContext.SearchModal() = modal({
inputField(store = searchStore) {
type("search")
placeholder("Search...")
attr("autofocus", "autofocus")
}
}
stackUpClose {
Expand Down

0 comments on commit 69c24aa

Please sign in to comment.