diff --git a/node_modules/@progress/kendo-dateinputs-common/dist/es/dateinput/dateinput.js b/node_modules/@progress/kendo-dateinputs-common/dist/es/dateinput/dateinput.js index bcbb80b..17e6340 100644 --- a/node_modules/@progress/kendo-dateinputs-common/dist/es/dateinput/dateinput.js +++ b/node_modules/@progress/kendo-dateinputs-common/dist/es/dateinput/dateinput.js @@ -584,12 +584,13 @@ var DateInput = /** @class */ (function (_super) { this.switchedPartOnPreviousKeyAction = false; break; case KeyCode.ARROW_UP: - this.modifyDateSegmentValue(step, symbol, event); - if (oldElementValue !== this.elementValue) { - this.triggerInputEnd({ event: e, error: null, newElementValue: this.elementValue, oldElementValue: oldElementValue }); - } + //kracken patch: prevent arrow up/down to allow grid to take precedence + // this.modifyDateSegmentValue(step, symbol, event); + // if (oldElementValue !== this.elementValue) { + // this.triggerInputEnd({ event: e, error: null, newElementValue: this.elementValue, oldElementValue: oldElementValue }); + // } shouldPreventDefault = true; - this.switchedPartOnPreviousKeyAction = false; + // this.switchedPartOnPreviousKeyAction = false; break; case KeyCode.ARROW_RIGHT: this.switchDateSegment(1); @@ -597,12 +598,13 @@ var DateInput = /** @class */ (function (_super) { this.switchedPartOnPreviousKeyAction = false; break; case KeyCode.ARROW_DOWN: - this.modifyDateSegmentValue(-step, symbol, event); - if (oldElementValue !== this.elementValue) { - this.triggerInputEnd({ event: e, error: null, newElementValue: this.elementValue, oldElementValue: oldElementValue }); - } + //kracken patch: prevent arrow up/down to allow grid to take precedence + // this.modifyDateSegmentValue(-step, symbol, event); + // if (oldElementValue !== this.elementValue) { + // this.triggerInputEnd({ event: e, error: null, newElementValue: this.elementValue, oldElementValue: oldElementValue }); + // } shouldPreventDefault = true; - this.switchedPartOnPreviousKeyAction = false; + // this.switchedPartOnPreviousKeyAction = false; break; case KeyCode.ENTER: // todo: handle "change" event