You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Combo: the focused "Add item" fills with the list item's focus background #17992
When allowCustomValues is on and the search text matches no item, the combo shows its default "Add item" button. When that item gets keyboard focus, the igx-combo-add-item wrapper takes the dropdown's focused-item background. The wrapper is the size of the button, so the result looks like a filled button with flat-button text, a button that does not exist in the theme. In Bootstrap dark, for example, the button turns solid gray (#56616b) under blue text.
Theme
Focused "Add item"
Material
Gray fill (#f5f5f5 light, #424242 dark)
Bootstrap
Gray fill (#ebedef light, #56616b dark)
Fluent
No fill
Indigo
Outline around the button, with no fill
igx-combo-add-item is styled as a dropdown item. .igx-combo__add-item sets only background: var(--empty-list-background), and the igx-drop-down__item--focused rule overrides it while the item has focus. The button itself never receives DOM focus (focus stays on .igx-combo__content), so its own focus styles do not apply.
Framework
Angular
Angular Version
22.3.0
Ignite UI for Angular Version
igniteui-angular 22.3.0-alpha.0
Component / Area
Combo / Simple Combo
Browser
Chrome
Operating System
Windows
Command Not Working
Steps to Reproduce
Use the Bootstrap theme (dark mode shows it best).
Render an igx-combo with [allowCustomValues]="true".
Open the combo and type text that matches no item. The "Add item" button shows below "The list is empty".
Press Arrow Down in the search input.
Actual Result
The wrapper gets igx-drop-down__item--focused and the dropdown's focused-item background. Behind the flat button's text this reads as a filled gray button.
The focus also persists. After the item has been focused once, it is gray again every time the list reopens with no matches, without any key press.
Expected Result
The focused "Add item" looks like the theme's flat button in its focus state, with no list-item fill behind it.
Reproduction URL
(waiting for new combo samples so i can link it directly)
Activity