igniteui-angular 21.2.6 → 21.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7022,7 +7022,7 @@ class IgxGridBaseDirective {
7022
7022
  const selectionCollection = new Map();
7023
7023
  const keysAndData = [];
7024
7024
  const activeEl = this.selectionService.activeElement;
7025
- if (this.type === 'hierarchical') {
7025
+ if (this.type === 'hierarchical' && source === this.filteredSortedData) {
7026
7026
  const expansionRowIndexes = [];
7027
7027
  for (const [key, value] of this.expansionStates.entries()) {
7028
7028
  if (value) {