mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
parent
df67e84401
commit
73861e2fa8
4 changed files with 5 additions and 4 deletions
|
@ -275,7 +275,8 @@
|
||||||
open="{open}" />
|
open="{open}" />
|
||||||
{/if}
|
{/if}
|
||||||
<ListBoxMenuIcon
|
<ListBoxMenuIcon
|
||||||
on:click="{() => {
|
on:click="{(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
open = !open;
|
open = !open;
|
||||||
}}"
|
}}"
|
||||||
translateWithId="{translateWithId}"
|
translateWithId="{translateWithId}"
|
||||||
|
|
|
@ -36,6 +36,6 @@
|
||||||
class:bx--list-box__menu-icon="{true}"
|
class:bx--list-box__menu-icon="{true}"
|
||||||
class:bx--list-box__menu-icon--open="{open}"
|
class:bx--list-box__menu-icon--open="{open}"
|
||||||
{...$$restProps}
|
{...$$restProps}
|
||||||
on:click|preventDefault|stopPropagation>
|
on:click|preventDefault>
|
||||||
<ChevronDown16 aria-label="{description}" title="{description}" />
|
<ChevronDown16 aria-label="{description}" title="{description}" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -20,7 +20,6 @@ export const Default = () => ({
|
||||||
id: text("MultiSelect id", "multi-select-id"),
|
id: text("MultiSelect id", "multi-select-id"),
|
||||||
name: text("MultiSelect name", "multi-select-name"),
|
name: text("MultiSelect name", "multi-select-name"),
|
||||||
titleText: text("Title (titleText)", "Multiselect Title"),
|
titleText: text("Title (titleText)", "Multiselect Title"),
|
||||||
helperText: text("Helper text (helperText)", "This is not helper text"),
|
|
||||||
filterable: boolean("Filterable (filterable)", false),
|
filterable: boolean("Filterable (filterable)", false),
|
||||||
selectionFeedback: select(
|
selectionFeedback: select(
|
||||||
"Selection feedback (selectionFeedback)",
|
"Selection feedback (selectionFeedback)",
|
||||||
|
|
|
@ -405,7 +405,8 @@
|
||||||
open="{open}" />
|
open="{open}" />
|
||||||
{/if}
|
{/if}
|
||||||
<ListBoxMenuIcon
|
<ListBoxMenuIcon
|
||||||
on:click="{() => {
|
on:click="{(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
open = !open;
|
open = !open;
|
||||||
}}"
|
}}"
|
||||||
translateWithId="{translateWithId}"
|
translateWithId="{translateWithId}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue