You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Not entirely sure if it's an issue with CVA, the regex or the extension for tailwind intellisense. Also this is my first issue so I'm sorry if I should be creating this elsewhere.
I noticed when my compoundVariants had more than 7 objects inside the array the intellisense for tailwind completely stopped working. I created a new basic CVA button and noticed its not just compoundVariants it seems to depend on how long the strings are? If I duplicate intents, compoundVariants or any other object that has tailwind classes eventually the intellisense will no longer work. Also somethings the intellisense will work for some lines but not others. It all depends on how big component is. I feel like it's the regex but I'm not too sure.
Describe the bug
Not entirely sure if it's an issue with CVA, the regex or the extension for tailwind intellisense. Also this is my first issue so I'm sorry if I should be creating this elsewhere.
I noticed when my compoundVariants had more than 7 objects inside the array the intellisense for tailwind completely stopped working. I created a new basic CVA button and noticed its not just compoundVariants it seems to depend on how long the strings are? If I duplicate intents, compoundVariants or any other object that has tailwind classes eventually the intellisense will no longer work. Also somethings the intellisense will work for some lines but not others. It all depends on how big component is. I feel like it's the regex but I'm not too sure.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Intellisense should still show no matter how large the component is.
Screenshots
How it should be:
After duplicating a few times:
Desktop (please complete the following information):
tailwind@3.2.4, cva@0.3.0
The text was updated successfully, but these errors were encountered: