mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: stop click propagation on remove button and fix story labels
This commit is contained in:
@@ -62,7 +62,7 @@ export const AllStates: Story = {
|
||||
<div class="flex items-center gap-2">
|
||||
<Tag label="Default" />
|
||||
<Tag label="Unselected" state="unselected" />
|
||||
<Tag label="Selected" removable />
|
||||
<Tag label="Removable" removable />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -38,7 +38,7 @@ const tagClass = computed(() =>
|
||||
type="button"
|
||||
:aria-label="$t('g.remove')"
|
||||
class="inline-flex shrink-0 cursor-pointer items-center justify-center rounded-full p-0.5 hover:bg-white/10"
|
||||
@click="emit('remove', $event)"
|
||||
@click.stop="emit('remove', $event)"
|
||||
>
|
||||
<i class="icon-[lucide--x] size-3" aria-hidden="true" />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user