Skip to content

v17.3 breaks v-bind #2061

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
morganarnel opened this issue Oct 20, 2023 · 2 comments · Fixed by Shoutzor/frontend#147 · May be fixed by YoutacRandS-VA/NativeScript#3 or YoutacRandS-VA/RSSHub-Radar#4
Closed

v17.3 breaks v-bind #2061

morganarnel opened this issue Oct 20, 2023 · 2 comments · Fixed by Shoutzor/frontend#147 · May be fixed by YoutacRandS-VA/NativeScript#3 or YoutacRandS-VA/RSSHub-Radar#4
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

@haoqunjiang
Copy link
Member

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.

# for free to join this conversation on GitHub. Already have an account? # to comment