Skip to content

Commit

Permalink
fix(board): prevent double committing search suggestion
Browse files Browse the repository at this point in the history
Without proper keying we'd handle mousedown twice.
  • Loading branch information
nikku committed Mar 17, 2024
1 parent 675062f commit 08ba744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/board/src/components/HintList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</style>

<ul class={ [ className, 'hint-list', 'scroll-container-v' ].join(' ') }>
{#each hints as hint, idx}
{#each hints as hint(hint.name) }
<li
use:scrollIntoView={ [ hint, selectedHint ] }
>
Expand Down

0 comments on commit 08ba744

Please sign in to comment.