Remove jump menu input autofocus on touch screens
This commit is contained in:
@@ -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,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>
|
||||
|
||||
Reference in New Issue
Block a user