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

[SSR]bug: Unintended attribute binding for components #5140

Closed
xxSkyy opened this issue Dec 20, 2021 · 0 comments
Closed

[SSR]bug: Unintended attribute binding for components #5140

xxSkyy opened this issue Dec 20, 2021 · 0 comments
Labels
🐞 bug Something isn't working scope: ssr

Comments

@xxSkyy
Copy link

xxSkyy commented Dec 20, 2021

Version

3.2.26

Reproduction link

codesandbox.io

Steps to reproduce

Create component A with nested component B and some other element with v-bind="$attrs" that should bind attributes provided only to this element, then in parent use component A with attrs like type="text". In SSR both elements in component A will have that attribute.

What is expected?

Only component B should have attributes provided by parent

What is actually happening?

Both elements have attribute provided by parent

@LinusBorg LinusBorg added 🐞 bug Something isn't working scope: ssr labels Dec 22, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: ssr
Projects
None yet
Development

No branches or pull requests

2 participants