Skip to content

docs: note that child scoped styles do not apply to slot content - #3459

Open
wjs-tech wants to merge 1 commit into
vuejs:mainfrom
wjs-tech:fix/doc-cleanup
Open

docs: note that child scoped styles do not apply to slot content#3459
wjs-tech wants to merge 1 commit into
vuejs:mainfrom
wjs-tech:fix/doc-cleanup

Conversation

@wjs-tech

Copy link
Copy Markdown

Slot content is part of the parent's render scope, so a <style scoped> block in the child component does not reach it. Add a tip in the Render Scope section pointing to Scoped CSS / :deep() as the workaround.

close #2207

Description of Problem

Proposed Solution

Additional Information

Slot content is part of the parent's render scope, so a `<style scoped>`
block in the child component does not reach it. Add a tip in the Render
Scope section pointing to Scoped CSS / `:deep()` as the workaround.

close vuejs#2207
@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit a889221
🔍 Latest deploy log https://app.netlify.com/projects/vuejs/deploys/6a85492135997300080c1a29
😎 Deploy Preview https://deploy-preview-3459--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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 this pull request may close these issues.

In slot doc missing warning about style scoped

1 participant