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

Collision when mangling selectors #169

Closed
Machy8 opened this issue Jan 10, 2023 · 0 comments · Fixed by #241
Closed

Collision when mangling selectors #169

Machy8 opened this issue Jan 10, 2023 · 0 comments · Fixed by #241
Labels
🐞 bug Something isn't working

Comments

@Machy8
Copy link
Member

Machy8 commented Jan 10, 2023

Describe the bug

  • In case, when for example a link component is defined and there is a sidebar-link selector, it is going to mangle the selector as a (for link) and sidebar-a (for sidebar link)

  • To prevent this behavior right now, the only way is to configure sidebar-link in the ignoredAreas option to be ignored

  • This could possibly by solved by checking, if the character at the beginning is a "word" character or start of a string. This check should applied only if the selector to replace starts with a word character.

Reproduction

The same as description

Logs

No response

System Info

- Linux, Node 16
@Machy8 Machy8 added the 🐞 bug Something isn't working label Jan 10, 2023
@Machy8 Machy8 linked a pull request Apr 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant