-
Notifications
You must be signed in to change notification settings - Fork 3
[CSL-2060] Utilize UI autocomplete in React example #8
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
[CSL-2060] Utilize UI autocomplete in React example #8
Conversation
src/index.css
Outdated
| max-height: 660px; | ||
| } | ||
|
|
||
| div.cio-autocomplete .cio-submit-btn, .cio-clear-btn { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we feel about the specificity of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a reason for having element selectors plus the class selectors? I tried and removed all of them and it was the same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was using the default styles at first and I needed the element selectors to make it specific. Now that I'm not using the default styles, I think they are unnecessary. I'll update
mocca102
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
src/index.css
Outdated
| max-height: 660px; | ||
| } | ||
|
|
||
| div.cio-autocomplete .cio-submit-btn, .cio-clear-btn { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a reason for having element selectors plus the class selectors? I tried and removed all of them and it was the same
mocca102
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
After some discussion with Jesse, changed the product count from 6 to 8 to use the defaults of OS UI and show simplicity of implementation.