-
Notifications
You must be signed in to change notification settings - Fork 762
The arrow icon of the Combobox component is not visible in v5 #6072
Comments
That's a good workaround, @wendellestradairely But I don't think it's the numeric sizing that's the problem, I think it may be the |
I could find two controls where there is a size set and using these controls will not render the icons. The close icon of the details pane of the datagrid and the dropdown arrow of the combobox along with the close icon of the multi-select pills there. Adding this to your global styles fixes this:
|
The fix would be providing a fallback value here I believe https://github.com/vmware/clarity/blob/next/packages/core/src/internal/utils/css.ts#L44
Probably should fallback to |
@mathisscott Importing the Also, it's not just the combobox that has the issue but the
Here's what my
|
@mathisscott By the way the But this one works:
|
@wendellestradairely There is an issue with the CSS minification step with the Angular CLI currently. See this comment for a workaround nrwl/nx#4381 (comment) |
Would be good to add this to the angular css file. That way one can use cds icons with numeric size without having to include the whole cds css files. Not sure if we need to open a separate bug for that? It is a breaking change otherwise as our users of our libraries suddenly need to include new cds css files (or add this themselves manually in their app).
|
Do you think we can get the css update above into the clarity angular css? That would help a lot with our users of our libraries. |
As @mathisscott mentioned, we are not able to replicate the issue. I am closing this issue as resolved. Feel free to reopen if you have more questions or info around this topic. Thank you! |
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary. |
Describe the bug
In v5, the arrow icon of the dropdown of the Combobox component isn't visible. I think this is because the icon was migrated to
cds-icon
but thesize
attribute does not accept integer values.Before update:
After the update:
How to reproduce
I can't provide a stackblitz, the template is currently broken.
Expected behavior
The dropdown arrow icon should be shown
Versions
Clarity project:
Clarity version:
Framework:
Framework version:
Angular 12
Device:
Windows 10 Enterprise
Additional notes
As a workaround fix, I created a directive that sets the size attribute of the cds-icon to "sm", which is a responsive style of sizing.
The text was updated successfully, but these errors were encountered: