Skip to content

Commit 7b4a9d3

Browse files
committed
fixup! feat(cdk-experimental/ui-patterns): create nav pattern
1 parent 37408ad commit 7b4a9d3

File tree

1 file changed

+5
-5
lines changed
  • src/cdk-experimental/ui-patterns/nav

1 file changed

+5
-5
lines changed

src/cdk-experimental/ui-patterns/nav/nav.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ export class NavPattern<V> {
8080
/** The keydown event manager for the nav. */
8181
keydown = computed(() => {
8282
return new KeyboardEventManager()
83-
.on(this.prevKey, () => this.prev({selectOne: true}))
84-
.on(this.nextKey, () => this.next({selectOne: true}))
85-
.on('Home', () => this.first({selectOne: true}))
86-
.on('End', () => this.last({selectOne: true}))
87-
.on(this.typeaheadRegexp, e => this.search(e.key, {selectOne: true}))
83+
.on(this.prevKey, () => this.prev())
84+
.on(this.nextKey, () => this.next())
85+
.on('Home', () => this.first())
86+
.on('End', () => this.last())
87+
.on(this.typeaheadRegexp, e => this.search(e.key))
8888
.on(this.dynamicSpaceKey, () => this.selection.selectOne()) // Activate link
8989
.on('Enter', () => this.selection.selectOne()); // Activate link
9090
});

0 commit comments

Comments
 (0)