We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7bdb00 commit 0533aa1Copy full SHA for 0533aa1
crates/rostra-web-ui/src/routes/new_post.rs
@@ -363,6 +363,7 @@ impl UiState {
363
"@keydown"="handleKeydown($event)"
364
autocomplete="off"
365
autofocus
366
+ x-autofocus
367
disabled[ro.to_disabled()]
368
"x-on:keyup.enter.ctrl"="$el.form.requestSubmit()"
369
{}
crates/rostra-web-ui/src/routes/post.rs
@@ -512,7 +512,6 @@ impl UiState {
512
)
513
.disabled(ro.to_disabled())
514
.hidden_inputs(html! { input type="hidden" name="reply_to" value=(ext_event_id) {} })
515
- .autofocus(true)
516
.call())
517
}
518
0 commit comments