Keep focus in place when navigating and morphing

This commit is contained in:
Jorge Manrubia
2025-05-06 12:04:26 +02:00
parent af3ecb3772
commit a8d4cbcff0
+2 -1
View File
@@ -13,7 +13,8 @@
class: "terminal__input input fill-transparent unpad",
data: {
commands_target: "input",
action: "keydown.up->toggle-class#add:prevent keydown.down->toggle-class#remove:prevent"
action: "keydown.up->toggle-class#add:prevent keydown.down->toggle-class#remove:prevent",
turbo_permanent: true
},
placeholder: "Search or type commands…" %>
<% end %>