We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d86523 commit 88a929bCopy full SHA for 88a929b
packages/module/src/BulkSelect/BulkSelect.tsx
@@ -113,7 +113,7 @@ export const BulkSelect: React.FC<BulkSelectProps> = ({
113
(isDataPaginated && pagePartiallySelected) ||
114
(!isDataPaginated && selectedCount > 0 && selectedCount < totalCount)
115
? null
116
- : pageSelected || selectedCount === totalCount
+ : pageSelected || (selectedCount === totalCount && totalCount > 0)
117
}
118
onChange={(checked) => onSelect?.(!checked || checked === null ? noneOption : allOption)}
119
{...menuToggleCheckboxProps}
0 commit comments