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

Components that wrap named-slotted components don't resolve with autoImport #1300

Open
gbyesiltas opened this issue Apr 9, 2024 · 4 comments
Labels
🐛 bug Verified bug by team 🔵 priority-3 3. Lower priority issue

Comments

@gbyesiltas
Copy link
Contributor

gbyesiltas commented Apr 9, 2024

Reproduction

https://stackblitz.com/edit/github-2lhz68-avdhcd?file=components%2FMyWrapperComponent.vue

Describe the bug

Hey,

I'm having some issues with enabling autoImport in our nuxt project. The issue that I'm currently having is that (admittedly kind of specific) it looks like if we have a component that wraps another component that has named slots defined, it ends-up not rendering at all.

Looking at the Vue dev tools, as far as I understand, the FormKit scheme provider does not resolve.

I also linked a reproduction which should hopefully make things more clear :)

Thanks! :)

Environment

• OS: MacOS
• Browser: Chrome
• Version: 123.0.6312.107 (Official Build) (arm64)

@gbyesiltas gbyesiltas added ⛑ Needs triage The issue has not yet been examined by the FormKit team. 🐛 bug-report Bug is reported, but not verified by team labels Apr 9, 2024
@justin-schroeder justin-schroeder added 🐛 bug Verified bug by team 🔵 priority-3 3. Lower priority issue and removed 🐛 bug-report Bug is reported, but not verified by team ⛑ Needs triage The issue has not yet been examined by the FormKit team. labels Apr 9, 2024
@justin-schroeder
Copy link
Member

Interesting edge case. Thanks for the report.

@OlaAlsaker
Copy link

Can confirm that some weird stuff is going in with slots when autoImport is enabled.

If I use <FormKit /> inside of a slot, another random slot will just stop rendering.

@gavinlight
Copy link

@justin-schroeder is there an update on this?

@justin-schroeder
Copy link
Member

being worked on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Verified bug by team 🔵 priority-3 3. Lower priority issue
Projects
None yet
Development

No branches or pull requests

4 participants