-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Description
Describe the bug
this is not working, and I don't know why
<Dropdown
placeholderSnippet={({ onOpen }) => placeholderSnippet({ onOpen, text: "open" })}
/>
{#snippet placeholderSnippet({ onOpen, text })}
<button onclick={onOpen}>
{text}
</button>
{/snippet}
check example:
https://svelte.dev/playground/f99dca7fd1b949b89228f4c97757df73?version=latest
Reproduction
https://svelte.dev/playground/f99dca7fd1b949b89228f4c97757df73?version=latest
Logs
System Info
System:
OS: macOS 15.5
CPU: (8) arm64 Apple M1 Pro
Memory: 255.05 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.17.1 - /opt/homebrew/opt/node@22/bin/node
npm: 10.9.2 - /opt/homebrew/opt/node@22/bin/npm
pnpm: 9.5.0 - /opt/homebrew/bin/pnpm
bun: 1.2.18 - /opt/homebrew/bin/bun
Watchman: 2025.07.14.00 - /opt/homebrew/bin/watchman
Browsers:
Brave Browser: 138.1.80.122
Safari: 18.5
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels