Skip to content

Commit 27febe1

Browse files
committed
pass through disallowTypeAhead to useGridListProps
1 parent ab5e6f3 commit 27febe1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-aria-components/src/GridList.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ function GridListInner<T extends object>({props, collection, gridListRef: ref}:
156156
// Only tab navigation is supported in grid layout.
157157
keyboardNavigationBehavior: layout === 'grid' ? 'tab' : keyboardNavigationBehavior,
158158
isVirtualized,
159-
shouldSelectOnPressUp: props.shouldSelectOnPressUp
159+
shouldSelectOnPressUp: props.shouldSelectOnPressUp,
160+
disallowTypeAhead
160161
}, filteredState, ref);
161162

162163
let selectionManager = filteredState.selectionManager;

0 commit comments

Comments
 (0)