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

v17.3 breaks v-bind #2061

Closed
morganarnel opened this issue Oct 20, 2023 · 2 comments
Closed

v17.3 breaks v-bind #2061

morganarnel opened this issue Oct 20, 2023 · 2 comments
Labels

Comments

@morganarnel
Copy link

I've found that after updating to version 17.3 any usage of v-bind(...) within in-component styling is broken. The CSS variable is correctly applied to the parent element in the DOM but the actual v-bind(...) is not replaced (see screenshot).

image

Reverting to 17.0 fixed this issue.

Vue Version: 3.3.4
Sass Loader Version: 13.3.2

@sodatea
Copy link
Member

sodatea commented Oct 20, 2023

Could you please provide a minimal reproduction of this issue?

@amagne1
Copy link

amagne1 commented Oct 25, 2023

I have the same issue.

I think this is caused by this feature : #2053

When you use v-bind inside a normal style (unscoped) like this :
<style lang="scss"> --my-css-var: v-bind(color); </style>

If I add "scoped" to style, it's working (except I need this style not scoped :p )

Reverting to 17.2.2 fixed this issue.

@sodatea sodatea added the bug label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants