Keep focus in place when navigating and morphing
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user