@aquera/nile-elements 0.1.73-beta-1.5 → 0.1.73-beta-1.7

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.1.73-beta-1.5",
6
+ "version": "0.1.73-beta-1.7",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -738,10 +738,6 @@ export class NileVirtualSelect extends NileElement implements NileFormControl {
738
738
  this.showNoResults = false;
739
739
  }
740
740
  this.requestUpdate();
741
-
742
- if (this.open) {
743
- this.resetScrollPosition();
744
- }
745
741
  }
746
742
 
747
743
  @watch('renderItemConfig', { waitUntilFirstUpdate: true })
@@ -97,9 +97,9 @@ export class VirtualSelectRenderer {
97
97
 
98
98
  /**
99
99
  * Determines whether to use virtualizer based on dataset size
100
- * For small datasets (less than 50 items), use regular rendering for better sizing
100
+ * For small datasets (less than 5 items), use regular rendering for better sizing
101
101
  */
102
102
  private static shouldUseVirtualizer(data: any[]): boolean {
103
- return data.length >= 50;
103
+ return data.length >= 5;
104
104
  }
105
105
  }