@progress/kendo-angular-dropdowns 7.2.0-dev.202209121509 → 7.2.0-dev.202209131018

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.
@@ -752,6 +752,7 @@ export class AutoCompleteComponent {
752
752
  this.escSubscription = this.navigationService.esc.subscribe(this.handleEscape.bind(this));
753
753
  this.scrollSubscription = merge(this.navigationService.pagedown, this.navigationService.pageup).subscribe((event) => {
754
754
  if (this.isOpen) {
755
+ event.originalEvent.preventDefault();
755
756
  this.optionsList.scrollWithOnePage(NavigationAction[event.originalEvent.code]);
756
757
  }
757
758
  });
@@ -616,6 +616,7 @@ export class ComboBoxComponent {
616
616
  this.subs.add(this.navigationService.close.subscribe(() => this.togglePopup(false)));
617
617
  this.subs.add(merge(this.navigationService.pagedown, this.navigationService.pageup).subscribe((event) => {
618
618
  if (this.isOpen) {
619
+ event.originalEvent.preventDefault();
619
620
  this.optionsList.scrollWithOnePage(NavigationAction[event.originalEvent.code]);
620
621
  }
621
622
  }));
@@ -898,6 +898,7 @@ export class DropDownListComponent {
898
898
  .subscribe((event) => this.selectionService.select(event.index)));
899
899
  this.subs.add(merge(this.navigationService.pagedown, this.navigationService.pageup).subscribe((event) => {
900
900
  if (this.isOpen) {
901
+ event.originalEvent.preventDefault();
901
902
  this.optionsList.scrollWithOnePage(NavigationAction[event.originalEvent.code]);
902
903
  }
903
904
  }));
@@ -5,7 +5,7 @@
5
5
  import { guid, isPresent, isArray, isObjectArray, resolveAllValues, selectedIndices, getter, isNumber, isUntouched, inDropDown, getSizeClass, getRoundedClass, getFillModeClass } from '../common/util';
6
6
  import { SearchBarComponent } from '../common/searchbar.component';
7
7
  import { ViewChild, ViewContainerRef, Component, HostBinding, Input, Output, EventEmitter, isDevMode, forwardRef, ContentChild, Optional, Inject, HostListener } from '@angular/core';
8
- import { Subscription, Subject, of } from 'rxjs';
8
+ import { Subscription, Subject, of, merge } from 'rxjs';
9
9
  import { catchError, filter, map, tap } from 'rxjs/operators';
10
10
  import { isChanged, isDocumentAvailable, KendoInput, hasObservers, anyChanged } from '@progress/kendo-angular-common';
11
11
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
@@ -989,7 +989,13 @@ export class MultiSelectComponent {
989
989
  this.navigationService.selectprevious.pipe(filter(isOpen)).subscribe((event) => this.handleSelectUpDown(event)),
990
990
  this.navigationService.selectnext.pipe(filter(isOpen)).subscribe((event) => this.handleSelectUpDown(event)),
991
991
  this.navigationService.selectalltobeginning.pipe(filter(isOpen)).subscribe(() => this.handleSelectAllToBeginning()),
992
- this.navigationService.selectalltoend.pipe(filter(isOpen)).subscribe(() => this.handleSelectAllToEnd())
992
+ this.navigationService.selectalltoend.pipe(filter(isOpen)).subscribe(() => this.handleSelectAllToEnd()),
993
+ merge(this.navigationService.pagedown, this.navigationService.pageup).subscribe((event) => {
994
+ if (this.isOpen) {
995
+ event.originalEvent.preventDefault();
996
+ this.optionsList.scrollWithOnePage(NavigationAction[event.originalEvent.code]);
997
+ }
998
+ })
993
999
  ].forEach(s => this.observableSubscriptions.add(s));
994
1000
  }
995
1001
  subscribeTouchEvents() {
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dropdowns',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1662995282,
12
+ publishDate: 1663064236,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -29,7 +29,7 @@ const packageMetadata = {
29
29
  name: '@progress/kendo-angular-dropdowns',
30
30
  productName: 'Kendo UI for Angular',
31
31
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
32
- publishDate: 1662995282,
32
+ publishDate: 1663064236,
33
33
  version: '',
34
34
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
35
35
  };
@@ -3153,6 +3153,7 @@ class AutoCompleteComponent {
3153
3153
  this.escSubscription = this.navigationService.esc.subscribe(this.handleEscape.bind(this));
3154
3154
  this.scrollSubscription = merge(this.navigationService.pagedown, this.navigationService.pageup).subscribe((event) => {
3155
3155
  if (this.isOpen) {
3156
+ event.originalEvent.preventDefault();
3156
3157
  this.optionsList.scrollWithOnePage(NavigationAction[event.originalEvent.code]);
3157
3158
  }
3158
3159
  });
@@ -4276,6 +4277,7 @@ class ComboBoxComponent {
4276
4277
  this.subs.add(this.navigationService.close.subscribe(() => this.togglePopup(false)));
4277
4278
  this.subs.add(merge(this.navigationService.pagedown, this.navigationService.pageup).subscribe((event) => {
4278
4279
  if (this.isOpen) {
4280
+ event.originalEvent.preventDefault();
4279
4281
  this.optionsList.scrollWithOnePage(NavigationAction[event.originalEvent.code]);
4280
4282
  }
4281
4283
  }));
@@ -6243,6 +6245,7 @@ class DropDownListComponent {
6243
6245
  .subscribe((event) => this.selectionService.select(event.index)));
6244
6246
  this.subs.add(merge(this.navigationService.pagedown, this.navigationService.pageup).subscribe((event) => {
6245
6247
  if (this.isOpen) {
6248
+ event.originalEvent.preventDefault();
6246
6249
  this.optionsList.scrollWithOnePage(NavigationAction[event.originalEvent.code]);
6247
6250
  }
6248
6251
  }));
@@ -8385,7 +8388,13 @@ class MultiSelectComponent {
8385
8388
  this.navigationService.selectprevious.pipe(filter(isOpen)).subscribe((event) => this.handleSelectUpDown(event)),
8386
8389
  this.navigationService.selectnext.pipe(filter(isOpen)).subscribe((event) => this.handleSelectUpDown(event)),
8387
8390
  this.navigationService.selectalltobeginning.pipe(filter(isOpen)).subscribe(() => this.handleSelectAllToBeginning()),
8388
- this.navigationService.selectalltoend.pipe(filter(isOpen)).subscribe(() => this.handleSelectAllToEnd())
8391
+ this.navigationService.selectalltoend.pipe(filter(isOpen)).subscribe(() => this.handleSelectAllToEnd()),
8392
+ merge(this.navigationService.pagedown, this.navigationService.pageup).subscribe((event) => {
8393
+ if (this.isOpen) {
8394
+ event.originalEvent.preventDefault();
8395
+ this.optionsList.scrollWithOnePage(NavigationAction[event.originalEvent.code]);
8396
+ }
8397
+ })
8389
8398
  ].forEach(s => this.observableSubscriptions.add(s));
8390
8399
  }
8391
8400
  subscribeTouchEvents() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dropdowns",
3
- "version": "7.2.0-dev.202209121509",
3
+ "version": "7.2.0-dev.202209131018",
4
4
  "description": "A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree ",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",