-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
needs designDesign is neededDesign is neededrefactorInternal improvementInternal improvementv25To be done in V25To be done in V25vaadin-list-box
Description
- in
vaadin-itemwe have this code:
:host([tabindex])::before {
display: var(--_lumo-item-selected-icon-display, none);
content: var(--lumo-icons-checkmark);
}- In
vaadin-list-boxwe use it like this
:host {
--_lumo-item-selected-icon-display: var(--_lumo-list-box-item-selected-icon-display, block);
}- In
vaadin-context-menu, we override it like this:
:host {
--_lumo-list-box-item-selected-icon-display: none;
}- However, in context-menu with nested menus, we reset it like this:
:host(.vaadin-menu-list-box) {
--_lumo-list-box-item-selected-icon-display: block;
}In future major releases, we need to come up with a better API.
Metadata
Metadata
Assignees
Labels
needs designDesign is neededDesign is neededrefactorInternal improvementInternal improvementv25To be done in V25To be done in V25vaadin-list-box