@ng-matero/ng-select 1.0.0 → 1.0.2

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/index.d.ts CHANGED
@@ -164,6 +164,7 @@ declare class NgSelectPanel implements OnInit, OnChanges, OnDestroy {
164
164
  private _handleScroll;
165
165
  private _handleOutsideClick;
166
166
  private _checkToClose;
167
+ private _coordinatesWithin;
167
168
  private _onItemsChange;
168
169
  private _updateItems;
169
170
  private _updateItemsRange;
@@ -352,6 +353,7 @@ declare class NgSelect implements OnDestroy, OnChanges, OnInit, AfterViewInit, C
352
353
  onInputFocus(e: FocusEvent): void;
353
354
  onInputBlur(e: FocusEvent): void;
354
355
  onItemHover(item: NgOptionItem): void;
356
+ updateViewPortItems(items: NgOptionItem[]): void;
355
357
  detectChanges(): void;
356
358
  private _setSearchTermFromItems;
357
359
  private _setItems;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-matero/ng-select",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Angular Select - All in One UI Select, Multiselect and Autocomplete",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -178,8 +178,7 @@
178
178
 
179
179
  .ng-select-virtual-scroll-host {
180
180
  position: relative;
181
- overflow: hidden;
182
- overflow-y: auto;
181
+ overflow: hidden auto;
183
182
  -webkit-overflow-scrolling: touch;
184
183
  }
185
184
 
@@ -188,7 +187,7 @@
188
187
  top: 0;
189
188
  left: 0;
190
189
  width: 100%;
191
- height: 100%;
190
+ contain: content;
192
191
  }
193
192
 
194
193
  .ng-select-virtual-scroll-spacer {