Use mousedown with left-click check to improve dropdown responsiveness

Co-authored-by: danharrin <41773797+danharrin@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-21 12:22:11 +00:00
co-authored by danharrin
parent dd6a772363
commit 20f3e61eaa
@@ -32,7 +32,7 @@
{{ $attributes->class(['fi-dropdown']) }}
>
<div
x-on:click="toggle"
x-on:mousedown="if ($event.button === 0) toggle()"
{{ $trigger->attributes->class(['fi-dropdown-trigger']) }}
>
{{ $trigger }}