buggood first issuehelp wanted
Metriche repository
- Star
- (66 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Describe the bug
I have a chained selector of 2 classes. Those classes doesn't aren't recognized by the extension. Says Selector my-selector does not exist in css file. Also in css file it says Selector my-selector is declared but never used
To Reproduce Steps to reproduce the behavior:
- Put className on an element like this:
<ul className={`${styles['custom-list']} ${styles['info-wrapper']}`} >
- Write css in the css file like this:
.custom-list.info-wrapper {
color: red;
}
- Hover on the className in react component
- See error
Selector 'info-wrapper' does not exist in 'styles.module.css' - Hover on the class in the css file
- See error
Selector 'custom-list.info-wrapper' is declared but it's never used
Expected behavior It should show the css properties declared in the css file
Screenshots
React Component and Output
CSS File
Desktop:
- OS: Ubuntu
- Version: 22.04.5 LTS x86_64