File tree 3 files changed +0
-10
lines changed
3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ function BaseSelectionList<TItem extends ListItem>(
129
129
shouldDebounceScrolling = false ,
130
130
shouldPreventActiveCellVirtualization = false ,
131
131
shouldScrollToFocusedIndex = true ,
132
- isSmallScreenWidth,
133
132
onContentSizeChange,
134
133
listItemTitleStyles,
135
134
initialNumToRender = 12 ,
@@ -413,9 +412,6 @@ function BaseSelectionList<TItem extends ListItem>(
413
412
414
413
if ( shouldShowTextInput ) {
415
414
clearInputAfterSelect ( ) ;
416
- } else if ( isSmallScreenWidth ) {
417
- onCheckboxPress ?.( item ) ;
418
- return ;
419
415
}
420
416
}
421
417
@@ -441,8 +437,6 @@ function BaseSelectionList<TItem extends ListItem>(
441
437
shouldPreventDefaultFocusOnSelectRow ,
442
438
isFocused ,
443
439
isScreenFocused ,
444
- isSmallScreenWidth ,
445
- onCheckboxPress ,
446
440
] ,
447
441
) ;
448
442
Original file line number Diff line number Diff line change @@ -568,9 +568,6 @@ type SelectionListProps<TItem extends ListItem> = Partial<ChildrenProps> & {
568
568
/** Whether focus event should be delayed */
569
569
shouldDelayFocus ?: boolean ;
570
570
571
- /** Whether the layout is narrow */
572
- isSmallScreenWidth ?: boolean ;
573
-
574
571
/** Callback to fire when the text input changes */
575
572
onArrowFocus ?: ( focusedItem : TItem ) => void ;
576
573
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ function SelectionListWithModal<TItem extends ListItem>(
106
106
sections = { sections }
107
107
onLongPressRow = { handleLongPressRow }
108
108
isScreenFocused = { isScreenFocused }
109
- isSmallScreenWidth = { isSmallScreenWidth }
110
109
// eslint-disable-next-line react/jsx-props-no-spreading
111
110
{ ...rest }
112
111
/>
You can’t perform that action at this time.
0 commit comments