Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte 5: Slot not being a valid prop key #9455

Closed
Thiagolino8 opened this issue Nov 15, 2023 · 0 comments · Fixed by #9457
Closed

Svelte 5: Slot not being a valid prop key #9455

Thiagolino8 opened this issue Nov 15, 2023 · 0 comments · Fixed by #9457

Comments

@Thiagolino8
Copy link

Describe the bug

When passing a prop with the name slot to a component, the value is always undefined whether using the $props rune or the legacy method

Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAA61RsU7DMBD9FctiSESVwBqSSt2ZWAlDcC-VhXNn2WdEFeXfie2qhQ6oA0OGd--987uXWY7agJfN6yxxmEA2cmet3Eg-2gj8JxiGFXsKTsVJ65XTlrc99qwnS47FMxwGdRSjo0n0sqozrrK3lz-ULwHBX4QJ_tLFzwALRQFZdOLO88BQPJRPK7NyY0DFmlBoVA4mQC5KMScnZ899Jx6jmJce2_oSFtv3wLw6CRtltPro5vOOJV2Tpr4Rc1qU7NmS7acrvSHuThJRZyqfdcWspU2016OGvWzYBVg2547zrltrhq9UXuwlvpGbUISeDFSGDkWcltfn2u0c50tb2z-zpPC3RokZ8tr4c6wj64vyXwK9Ld_U-2DPjAIAAA==

Logs

No response

System Info

Kiwi browser on android 13

Severity

annoyance

Rich-Harris added a commit that referenced this issue Nov 15, 2023
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant