@progress/kendo-react-dropdowns 5.18.0-dev.202309121241 → 5.18.0-dev.202309121615
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.
- package/dist/cdn/js/kendo-react-dropdowns.js +1 -1
- package/dist/es/ComboBox/ComboBox.js +10 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/ComboBox/ComboBox.js +10 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-dropdowns.js +1 -1
- package/package.json +16 -16
|
@@ -266,7 +266,13 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
|
|
|
266
266
|
var isCustomValue = focusedIndex === -1;
|
|
267
267
|
var isCurrentValueDisabled = !isCustomValue && _this.getCurrentValueDisabledStatus(textField, data, focusedIndex);
|
|
268
268
|
if (opened) {
|
|
269
|
-
if (
|
|
269
|
+
if (keyCode === Keys.pageUp) {
|
|
270
|
+
_this.base.scrollPopupByPageSize(-1);
|
|
271
|
+
}
|
|
272
|
+
else if (keyCode === Keys.pageDown) {
|
|
273
|
+
_this.base.scrollPopupByPageSize(1);
|
|
274
|
+
}
|
|
275
|
+
else if (event.altKey && keyCode === Keys.up) {
|
|
270
276
|
togglePopup();
|
|
271
277
|
}
|
|
272
278
|
else if (keyCode === Keys.enter) {
|
|
@@ -291,6 +297,9 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
|
|
|
291
297
|
_this.applyValueOnRejectSuggestions(event.currentTarget.value, state);
|
|
292
298
|
}
|
|
293
299
|
}
|
|
300
|
+
else if (!opened && keyCode === Keys.esc) {
|
|
301
|
+
_this.clearValueOnEnterOrEsc(event);
|
|
302
|
+
}
|
|
294
303
|
else if (event.altKey && keyCode === Keys.down) {
|
|
295
304
|
togglePopup();
|
|
296
305
|
}
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-dropdowns',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1694532832,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -269,7 +269,13 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
|
|
|
269
269
|
var isCustomValue = focusedIndex === -1;
|
|
270
270
|
var isCurrentValueDisabled = !isCustomValue && _this.getCurrentValueDisabledStatus(textField, data, focusedIndex);
|
|
271
271
|
if (opened) {
|
|
272
|
-
if (
|
|
272
|
+
if (keyCode === kendo_react_common_1.Keys.pageUp) {
|
|
273
|
+
_this.base.scrollPopupByPageSize(-1);
|
|
274
|
+
}
|
|
275
|
+
else if (keyCode === kendo_react_common_1.Keys.pageDown) {
|
|
276
|
+
_this.base.scrollPopupByPageSize(1);
|
|
277
|
+
}
|
|
278
|
+
else if (event.altKey && keyCode === kendo_react_common_1.Keys.up) {
|
|
273
279
|
togglePopup();
|
|
274
280
|
}
|
|
275
281
|
else if (keyCode === kendo_react_common_1.Keys.enter) {
|
|
@@ -294,6 +300,9 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
|
|
|
294
300
|
_this.applyValueOnRejectSuggestions(event.currentTarget.value, state);
|
|
295
301
|
}
|
|
296
302
|
}
|
|
303
|
+
else if (!opened && keyCode === kendo_react_common_1.Keys.esc) {
|
|
304
|
+
_this.clearValueOnEnterOrEsc(event);
|
|
305
|
+
}
|
|
297
306
|
else if (event.altKey && keyCode === kendo_react_common_1.Keys.down) {
|
|
298
307
|
togglePopup();
|
|
299
308
|
}
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-dropdowns',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1694532832,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
14
|
};
|