Skip to content

Commit 09405b0

Browse files
authored
fix(core): ensure grid list item selection works (#12229)
* fix(core): ensure grid list item selection works with navigation in multiselect mode. closes [#12218](#12218) ## Description When trying to select a grid list item that has navigation in multiselect mode with a mouse click, only the navigation event was fired, and the select did not go through. This fix ensures that both the navigation and selection events are handled correctly. * fix(core): ensure grid list item selection works with navigation in multiselect mode. closes [#12218](#12218) ## Description removed console log
1 parent 04bbc08 commit 09405b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/core/grid-list/components/grid-list-item/grid-list-item.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,8 @@ export class GridListItemComponent<T> implements AfterViewInit, OnDestroy {
465465
!classList.contains('fd-grid-list__radio-label') &&
466466
!classList.contains('fd-grid-list__radio-input') &&
467467
!classList.contains('fd-grid-list__checkbox-label') &&
468-
!classList.contains('fd-grid-list__checkbox-input')
468+
!classList.contains('fd-grid-list__checkbox-input') &&
469+
!classList.contains('fd-checkbox__checkmark')
469470
);
470471
}
471472

0 commit comments

Comments
 (0)