Skip to content

Commit

Permalink
fix(frontend): fix mobile multi select
Browse files Browse the repository at this point in the history
  • Loading branch information
fatonramadani committed Oct 11, 2023
1 parent d896130 commit 0172e10
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@
options={Array.isArray(items) ? items : []}
placeholder={resolvedConfig.placeholder}
allowUserOptions={resolvedConfig.create}
closeDropdownOnSelect={'desktop'}
on:open={() => {
$selectedComponent = [id]
open = true
Expand All @@ -177,7 +176,14 @@
</MultiSelect>
<Portal>
<div use:floatingContent class="z5000" hidden={!open}>
<div bind:this={portalRef} class="multiselect" style={`min-width: ${w}px;`} />
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div
bind:this={portalRef}
class="multiselect"
style={`min-width: ${w}px;`}
on:click|stopPropagation
/>
</div>
</Portal>
</div>
Expand Down

0 comments on commit 0172e10

Please sign in to comment.