Skip to content

Commit 4bec5a3

Browse files
committed
fix: prevent context menu to avoid error with gnome 49
1 parent 77e0955 commit 4bec5a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
</script>
9393

9494
<!-- https://svelte.dev/tutorial/bind-this -->
95-
<section>
95+
<section aria-label="Emoji picker" oncontextmenu={(e) => e.preventDefault()}>
9696
<div bind:this={picker}></div>
9797
{#if selection.length > 0}
9898
<p>{selection.join(' ')}</p>

0 commit comments

Comments
 (0)