Skip to content

Commit c641624

Browse files
committed
fixup! refactor(cdk-experimental/ui-patterns): track focus by item not index
1 parent 4cc879f commit c641624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk-experimental/ui-patterns/behaviors/list/list.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('List Behavior', () => {
2323
function getList<V>(inputs: Partial<TestInputs<V>> & Pick<TestInputs<V>, 'items'>): TestList<V> {
2424
return new List({
2525
value: inputs.value ?? signal([]),
26-
activeItem: signal(null),
26+
activeItem: signal(undefined),
2727
typeaheadDelay: inputs.typeaheadDelay ?? signal(0.5),
2828
wrap: inputs.wrap ?? signal(true),
2929
disabled: inputs.disabled ?? signal(false),

0 commit comments

Comments
 (0)