@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.
@@ -3804,13 +3804,18 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
3804
3804
  break;
3805
3805
  case 'downArrow':
3806
3806
  if (!this.enableVirtualization) {
3807
- parentTarget = e.target.parentElement;
3807
+ target = e.target;
3808
+ parentTarget = target.parentElement;
3809
+ var cellIndex = parentTarget.cellIndex;
3810
+ if (this.grid.getColumnByIndex(cellIndex).editType === 'dropdownedit' && isNullOrUndefined(this.grid.getColumnByIndex(cellIndex).edit["obj"])) {
3811
+ parentTarget = target;
3812
+ }
3808
3813
  summaryElement = this.findnextRowElement(parentTarget);
3809
3814
  if (summaryElement !== null) {
3810
3815
  var rowIndex = summaryElement.rowIndex;
3811
3816
  this.selectRow(rowIndex);
3812
- var cellIndex = e.target.cellIndex;
3813
- var row_1 = summaryElement.children[parseInt(cellIndex.toString(), 10)];
3817
+ var cellIndex_1 = e.target.cellIndex;
3818
+ var row_1 = summaryElement.children[parseInt(cellIndex_1.toString(), 10)];
3814
3819
  addClass([row_1], 'e-focused');
3815
3820
  addClass([row_1], 'e-focus');
3816
3821
  }
@@ -3821,7 +3826,12 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
3821
3826
  break;
3822
3827
  case 'upArrow':
3823
3828
  if (!this.enableVirtualization) {
3824
- parentTarget = e.target.parentElement;
3829
+ target = e.target;
3830
+ parentTarget = target.parentElement;
3831
+ var cellIndex = parentTarget.cellIndex;
3832
+ if (this.grid.getColumnByIndex(cellIndex).editType === 'dropdownedit' && isNullOrUndefined(this.grid.getColumnByIndex(cellIndex).edit["obj"])) {
3833
+ parentTarget = target;
3834
+ }
3825
3835
  summaryElement = this.findPreviousRowElement(parentTarget);
3826
3836
  if (summaryElement !== null) {
3827
3837
  var rIndex = summaryElement.rowIndex;