Skip to content

[Bug]: Select options do not appear inside Slideover body #217

Description

@asphum

Component

Select, Slideover

Describe the bug

Describe the bug

Select inside Slideover {#snippet body()} opens but the item list is empty / not visible.

Repro

<Slideover open portal={false} title="Test">
  {#snippet body()}
    <Select
      bind:value={mode}
      items={[
        { value: "a", label: "A" },
        { value: "b", label: "B" },
      ]}
    />
  {/snippet}
</Slideover>

### Reproduction

Expected
Dropdown shows A / B.

Actual
Trigger opens, no items.

Notes
Select defaults portal={true}, content z-50 — same as Slideover overlay/content.
body wraps ScrollArea (overflow-hidden) so portal={false} clips the list.
sv5ui 2.7.0, bits-ui Select.

### sv5ui version

2.7.0

### Area

Not sure

### Checklist

- [x] I searched existing issues and this is not a duplicate.
- [x] I reproduced this on the latest version of sv5ui.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions