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

Error opening autocomplete window in tailwind css #2993

Open
DioxusGrow opened this issue Sep 23, 2024 · 2 comments
Open

Error opening autocomplete window in tailwind css #2993

DioxusGrow opened this issue Sep 23, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@DioxusGrow
Copy link

When there is no space between the class and the parameter string, the parameter autocomplete window in tailwind css does not work

bandicam.2024-09-24.01-15-19-843.mp4

Environment:

Dioxus version: 0.6.0-alpha.2 (b254692) from github 19/09/24
Rust version: rustc 1.81.0 (eeb90cda1 2024-09-04)
OS info: Win11
App platform: web

@ealmloff
Copy link
Member

That sounds like an issue with your tailwind.css config. You can change your class regex to "tailwindCSS.experimental.classRegex": ["class: ?\"(.*)\""] to make the space optional

@ealmloff ealmloff added the documentation Improvements or additions to documentation label Sep 24, 2024
@chungwong
Copy link
Contributor

Does dx format add the spacing? If yes, then the problem is less prominent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants