Skip to content

Commit 72877a5

Browse files
committed
Change back to click from mousedown in tree menu
1 parent 6ea11c0 commit 72877a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Krompaco.RecordCollector.Web/Components/Layout/MainLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
aria-expanded="false"
100100
aria-controls="header-menu"
101101
aria-label="@Model.Localizer["Open menu"]"
102-
data-script="on mousedown
102+
data-script="on click
103103
toggle .hidden on #header-menu
104104
then if @@aria-expanded == 'true'
105105
set @@aria-expanded to 'false'

src/Krompaco.RecordCollector.Web/Components/Navigation/MenuItem.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
aria-controls="@listId"
1717
aria-label="@Model.Localizer["Open"] @Model.Text"
1818
class="group p-[6px] mt-[3px] rc-menu-link justify-self-end"
19-
data-script="on mousedown
19+
data-script="on click
2020
toggle .hidden on #@listId
2121
then if @@aria-expanded == 'true'
2222
set @@aria-expanded to 'false'

0 commit comments

Comments
 (0)