@syncfusion/ej2-treegrid 21.2.3 → 21.2.4

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.
@@ -3538,7 +3538,12 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
3538
3538
  break;
3539
3539
  case 'downArrow':
3540
3540
  if (!this.enableVirtualization) {
3541
- parentTarget = e.target.parentElement;
3541
+ target = e.target;
3542
+ parentTarget = target.parentElement;
3543
+ const cellIndex = parentTarget.cellIndex;
3544
+ if (this.grid.getColumnByIndex(cellIndex).editType === 'dropdownedit' && isNullOrUndefined(this.grid.getColumnByIndex(cellIndex).edit[`obj`])) {
3545
+ parentTarget = target;
3546
+ }
3542
3547
  summaryElement = this.findnextRowElement(parentTarget);
3543
3548
  if (summaryElement !== null) {
3544
3549
  const rowIndex = summaryElement.rowIndex;
@@ -3555,7 +3560,12 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
3555
3560
  break;
3556
3561
  case 'upArrow':
3557
3562
  if (!this.enableVirtualization) {
3558
- parentTarget = e.target.parentElement;
3563
+ target = e.target;
3564
+ parentTarget = target.parentElement;
3565
+ const cellIndex = parentTarget.cellIndex;
3566
+ if (this.grid.getColumnByIndex(cellIndex).editType === 'dropdownedit' && isNullOrUndefined(this.grid.getColumnByIndex(cellIndex).edit[`obj`])) {
3567
+ parentTarget = target;
3568
+ }
3559
3569
  summaryElement = this.findPreviousRowElement(parentTarget);
3560
3570
  if (summaryElement !== null) {
3561
3571
  const rIndex = summaryElement.rowIndex;