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}" />
|
||||
{/if}
|
||||
<ListBoxMenuIcon
|
||||
on:click="{() => {
|
||||
on:click="{(e) => {
|
||||
e.stopPropagation();
|
||||
open = !open;
|
||||
}}"
|
||||
translateWithId="{translateWithId}"
|
||||
|
|
|
@ -36,6 +36,6 @@
|
|||
class:bx--list-box__menu-icon="{true}"
|
||||
class:bx--list-box__menu-icon--open="{open}"
|
||||
{...$$restProps}
|
||||
on:click|preventDefault|stopPropagation>
|
||||
on:click|preventDefault>
|
||||
<ChevronDown16 aria-label="{description}" title="{description}" />
|
||||
</div>
|
||||
|
|
|
@ -20,7 +20,6 @@ export const Default = () => ({
|
|||
id: text("MultiSelect id", "multi-select-id"),
|
||||
name: text("MultiSelect name", "multi-select-name"),
|
||||
titleText: text("Title (titleText)", "Multiselect Title"),
|
||||
helperText: text("Helper text (helperText)", "This is not helper text"),
|
||||
filterable: boolean("Filterable (filterable)", false),
|
||||
selectionFeedback: select(
|
||||
"Selection feedback (selectionFeedback)",
|
||||
|
|
|
@ -405,7 +405,8 @@
|
|||
open="{open}" />
|
||||
{/if}
|
||||
<ListBoxMenuIcon
|
||||
on:click="{() => {
|
||||
on:click="{(e) => {
|
||||
e.stopPropagation();
|
||||
open = !open;
|
||||
}}"
|
||||
translateWithId="{translateWithId}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue