Remove jump menu input autofocus on touch screens

This commit is contained in:
Alexander Zaytsev
2026-02-24 15:57:42 +01:00
parent 13d60932df
commit 6099884511
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ module My::MenuHelper
aria: { activedescendant: "" },
data: {
"1p-ignore": "true",
dialog_target: "focusMouse",
filter_target: "input",
nav_section_expander_target: "input",
navigable_list_target: "input",
+1 -1
View File
@@ -1,6 +1,6 @@
<div class="flex gap">
<div class="flex flex-column full-width justify-center gap-half">
<div class="nav__header">
<div class="nav__header" tabindex="-1" data-dialog-target="focusTouch">
<% if Current.identity.accounts.many? %>
<div class="nav__header-title max-width">
<div class="overflow-ellipsis"><strong><%= Current.account.name %></strong></div>