@aquera/nile-elements 1.2.5-beta-1.0 → 1.2.5-beta-1.1
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/demo/index.html +28 -8
- package/dist/index.js +2 -2
- package/dist/nile-virtual-select/nile-virtual-select.cjs.js +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.cjs.js.map +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.esm.js +1 -1
- package/dist/src/nile-virtual-select/nile-virtual-select.js +10 -4
- package/dist/src/nile-virtual-select/nile-virtual-select.js.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-virtual-select/nile-virtual-select.ts +10 -4
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": "1.2.5-beta-1.
|
|
6
|
+
"version": "1.2.5-beta-1.1",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"module": "dist/src/index.js",
|
|
@@ -511,11 +511,17 @@ export class NileVirtualSelect extends NileElement implements NileFormControl {
|
|
|
511
511
|
this.data = [...this.originalOptionItems];
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
|
|
515
|
-
this.portalManager.resetMeasuredHeight();
|
|
514
|
+
try {
|
|
516
515
|
|
|
517
|
-
|
|
518
|
-
|
|
516
|
+
// Reset measured height when show selected toggles (content height may change)
|
|
517
|
+
this.portalManager.resetMeasuredHeight();
|
|
518
|
+
|
|
519
|
+
this.requestUpdate();
|
|
520
|
+
this.repaintOptionsContainer();
|
|
521
|
+
} catch(e) {
|
|
522
|
+
console.warn("Error in toggleShowSelected", e);
|
|
523
|
+
console.log("Error in toggleShowSelected", e);
|
|
524
|
+
}
|
|
519
525
|
}
|
|
520
526
|
|
|
521
527
|
private unSelectAll(): void {
|