Skip to content

Commit 9476b22

Browse files
Fix double submenu in settings (#10196)
Signed-off-by: Artem Savchenko <[email protected]>
1 parent 5862026 commit 9476b22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/setting-resources/src/components/ClassAttributesList.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@
187187
hovered={hovered === attr._id}
188188
{attributeMapper}
189189
on:contextmenu={async (event) => {
190+
event.stopPropagation()
191+
event.preventDefault()
190192
void showMenu(event, attr)
191193
}}
192194
on:click={async () => {

0 commit comments

Comments
 (0)