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

3.0 rc.11 - Classes not being merged from parent to child component (in client-only components) #15039

Closed
ffxsam opened this issue Sep 27, 2022 · 3 comments · Fixed by nuxt/framework#7774

Comments

@ffxsam
Copy link

ffxsam commented Sep 27, 2022

Environment

Nuxt CLI v3.0.0-rc.8
RootDir: /Users/samh/Sites/reelcrafter/v2-presentation
Nuxt project info:


  • Operating System: Darwin
  • Node Version: v16.16.0
  • Nuxt Version: 3.0.0-rc.8
  • Package Manager: yarn@3.2.3
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/nuxt-starter-lzssqp?file=app.vue,components%2FHowdy.client.vue,components%2FTest.vue

Describe the bug

Classes are not being merged properly into the child component's root div. This was working fine in RC8.

In the reproduction, note how the app-vue class is missing from the Howdy component root. This only seems to be an issue with .client.vue components, not components wrapped in <client-only>.

Additional context

No response

Logs

No response

@riderx
Copy link

riderx commented Jun 13, 2023

Hey @danielroe it seems i still got this issue in the latest version 3.5.3 of nuxt, the example is a bit different but result is the same, it's not merged:
https://stackblitz.com/edit/nuxt-starter-mavf4s?file=components%2FTest.vue

Should i open a new issue ?

Copy link
Member

Yes, please! 🙏

@riderx
Copy link

riderx commented Jun 13, 2023

Done !

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

Successfully merging a pull request may close this issue.

3 participants