react-select icon indicating copy to clipboard operation
react-select copied to clipboard

CSS selectors should be lowercase

Open rantler opened this issue 10 years ago • 2 comments

Using mixed case CSS selectors can lead to confusion, bugs, and often conflicts with existing coding style guides. Please consider renaming the CSS selectors in this project to use lowercase exclusively.

rantler avatar Aug 26 '16 22:08 rantler

I totally agree, and it actually happened in our current project where my colleague forgot to add capital S for select and hence the css rule wasn't applied in our project

Abzoozy avatar Sep 03 '16 21:09 Abzoozy

I agree that case-insensitive selectors might be a bit more robust. Unfortunately this kind of change can't really be made due to the fact that it would either break backwards compatibility or require setting redundant classnames to support existing styles/users.

This seems like a good thing to revisit down the road for version 2.x though. I'm going to tag it as such but close it for now. I think time is too limited at the moment and 1.x is already ambitious enough.

Thanks for your understanding!

bvaughn avatar Sep 04 '16 23:09 bvaughn