Skip to content

Issue with cssConflict in Vue class binding ternary #523

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

Closed
Ma-An opened this issue Apr 13, 2022 · 5 comments
Closed

Issue with cssConflict in Vue class binding ternary #523

Ma-An opened this issue Apr 13, 2022 · 5 comments

Comments

@Ma-An
Copy link

Ma-An commented Apr 13, 2022

I am getting a cssConflict when using the same CSS properties with a Vue class binding syntax inside a ternary:

image
image

This is causing my project to be littered with these warnings. Since these CSS properties are in a ternary statement, they should never be conflicting.

@SkandarS0
Copy link

SkandarS0 commented Apr 13, 2022

Hey, what version of Tailwind Intellisense are you using ?

@Ma-An
Copy link
Author

Ma-An commented Apr 13, 2022

@tightropeboy I am using version 0.8.0, updated from version 0.7.7. Also am using Tailwind CSS v3.0.23

@bradlc
Copy link
Contributor

bradlc commented Apr 13, 2022

Hey @Ma-An, thanks for reporting. This was a regression introduced in v0.8.0 via #503. That PR has been reverted for now and upgrading to v0.8.1 should fix the issue 👍

@bradlc bradlc closed this as completed Apr 13, 2022
@buzlo
Copy link

buzlo commented Sep 15, 2023

Hello @bradlc !
I still get this error in the current version of the extension (multiple occasions, but not sure what exactly causes the conflict as some classes in ternary go without error):
image

@unional
Copy link

unional commented Mar 27, 2024

Same here. Please consider reopen.
biomejs/biome#2224

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

No branches or pull requests

5 participants